﻿#include "Server.ItemInfoForm.h"
#include "../Server.SMain.h"
#include "../../Shared/Enums.h"
#include "../../Shared/Data/Stat.h"

using namespace Server::MirEnvir;

namespace Server
{

    Server::MirEnvir::Envir *ItemInfoForm::getEnvir() const
    {
        return SMain::getEditEnvir();
    }

    std::string ItemInfoForm::ComboBoxItem::getText() const
    {
        return Text;
    }

    void ItemInfoForm::ComboBoxItem::setText(const std::string &value)
    {
        Text = value;
    }

    std::any ItemInfoForm::ComboBoxItem::getValue() const
    {
        return Value;
    }

    void ItemInfoForm::ComboBoxItem::setValue(const std::any &value)
    {
        Value = value;
    }

    std::string ItemInfoForm::ComboBoxItem::ToString()
    {
        return getText();
    }

    ItemInfoForm::ItemInfoForm()
    {
        InitializeComponent();

//C# TO C++ CONVERTER TODO TASK: There is no C++ equivalent to the C# 'typeof' operator:
        ITypeComboBox->Items->AddRange(Enum::GetValues(typeof(ItemType))->Cast<std::any>()->ToArray());
//C# TO C++ CONVERTER TODO TASK: There is no C++ equivalent to the C# 'typeof' operator:
        IGradeComboBox->Items->AddRange(Enum::GetValues(typeof(ItemGrade))->Cast<std::any>()->ToArray());
//C# TO C++ CONVERTER TODO TASK: There is no C++ equivalent to the C# 'typeof' operator:
        RTypeComboBox->Items->AddRange(Enum::GetValues(typeof(RequiredType))->Cast<std::any>()->ToArray());
//C# TO C++ CONVERTER TODO TASK: There is no C++ equivalent to the C# 'typeof' operator:
        RClassComboBox->Items->AddRange(Enum::GetValues(typeof(RequiredClass))->Cast<std::any>()->ToArray());
//C# TO C++ CONVERTER TODO TASK: There is no C++ equivalent to the C# 'typeof' operator:
        RGenderComboBox->Items->AddRange(Enum::GetValues(typeof(RequiredGender))->Cast<std::any>()->ToArray());
//C# TO C++ CONVERTER TODO TASK: There is no C++ equivalent to the C# 'typeof' operator:
        ISetComboBox->Items->AddRange(Enum::GetValues(typeof(ItemSet))->Cast<std::any>()->ToArray());

//C# TO C++ CONVERTER TODO TASK: There is no C++ equivalent to the C# 'typeof' operator:
        ITypeFilterComboBox->Items->AddRange(Enum::GetValues(typeof(ItemType))->Cast<std::any>()->ToArray());
        ComboBoxItem *tempVar = new ComboBoxItem();
        tempVar->setText("All");
        ITypeFilterComboBox->Items->Add(tempVar);
        ITypeFilterComboBox->SelectedIndex = ITypeFilterComboBox->Items->Count - 1;

        UpdateInterface();

//C# TO C++ CONVERTER TODO TASK: A 'delete tempVar' statement was not added since tempVar was passed to a method or constructor. Handle memory management manually.
    }

    void ItemInfoForm::RefreshUniqueTab()
    {
        if ((ITypeComboBox->SelectedItem != nullptr) && (static_cast<ItemType>(ITypeComboBox->SelectedItem) == ItemType::Gem))
        {
            tabControl1->TabPages[3]->Text = "Usable on";
            ParalysischeckBox->Text = "Weapon";
            TeleportcheckBox->Text = "Armour";
            ClearcheckBox->Text = "Helmet";
            ProtectioncheckBox->Text = "Necklace";
            RevivalcheckBox->Text = "Bracelet";
            MusclecheckBox->Text = "Ring";
            FlamecheckBox->Text = "Amulet";
            HealingcheckBox->Text = "Belt";
            ProbecheckBox->Text = "Boots";
            SkillcheckBox->Text = "Stone";
            NoDuraLosscheckBox->Text = "Torch";
            PickaxecheckBox->Text = "Unused";
            label50->Text = "Base rate%";
            label52->Text = "Success drop";
            label51->Text = "Max stats (all)";
            label49->Text = "Max gem stat";
            BlinkcheckBox->Text = "Unsure?";
        }
        else
        {
            tabControl1->TabPages[3]->Text = "Special Stats";
            ParalysischeckBox->Text = "Paralysis ring";
            TeleportcheckBox->Text = "Teleport ring";
            ClearcheckBox->Text = "Clear ring";
            ProtectioncheckBox->Text = "Protection ring";
            RevivalcheckBox->Text = "Revival ring";
            MusclecheckBox->Text = "Muscle ring";
            FlamecheckBox->Text = "Flame ring";
            HealingcheckBox->Text = "Healing ring";
            ProbecheckBox->Text = "Probe necklace";
            SkillcheckBox->Text = "Skill necklace";
            NoDuraLosscheckBox->Text = "No dura loss";
            PickaxecheckBox->Text = "Pickaxe";
            label50->Text = "Critical rate:";
            label52->Text = "Reflect:";
            label51->Text = "Critical Dmg:";
            label49->Text = "HP Drain:";
            BlinkcheckBox->Text = "Blink";
        }
    }

    void ItemInfoForm::UpdateInterface(bool refreshList)
    {
        if (refreshList)
        {
            ItemInfoListBox->Items->Clear();

            for (int i = 0; i < getEnvir()->ItemInfoList.size(); i++)
            {
                if (ITypeFilterComboBox->SelectedItem == nullptr || ITypeFilterComboBox->SelectedIndex == ITypeFilterComboBox->Items->Count - 1 || getEnvir()->ItemInfoList[i]->Type == static_cast<ItemType>(ITypeFilterComboBox->SelectedItem))
                {
                    ItemInfoListBox->Items->Add(getEnvir()->ItemInfoList[i]);
                }
            }
        }

        _selectedItemInfos = ItemInfoListBox->SelectedItems.Cast<ItemInfo*>().ToList();


        if (_selectedItemInfos.empty())
        {
            ItemInfoPanel->Enabled = false;

            ItemIndexTextBox->Text = "";
            ItemNameTextBox->Text = "";
            WeightTextBox->Text = "";
            ImageTextBox->Text = "";
            DuraTextBox->Text = "";
            ITypeComboBox->SelectedItem = nullptr;
            IGradeComboBox->SelectedItem = nullptr;
            ISetComboBox->SelectedItem = nullptr;
            ShapeTextBox->Text = "";
            SSizeTextBox->Text = "";
            PriceTextBox->Text = "";
            RTypeComboBox->SelectedItem = nullptr;
            RAmountTextBox->Text = "";
            RClassComboBox->SelectedItem = nullptr;
            RGenderComboBox->SelectedItem = nullptr;
            LightTextBox->Text = "";
            LightIntensitytextBox->Text = "";

            MinACTextBox->Text = "";
            MaxACTextBox->Text = "";
            MinMACTextBox->Text = "";
            MaxMACTextBox->Text = "";
            MinDCTextBox->Text = "";
            MaxDCTextBox->Text = "";
            MinMCTextBox->Text = "";
            MaxMCTextBox->Text = "";
            MinSCTextBox->Text = "";
            MaxSCTextBox->Text = "";
            HPTextBox->Text = "";
            MPTextBox->Text = "";
            AccuracyTextBox->Text = "";
            AgilityTextBox->Text = "";
            ASpeedTextBox->Text = "";
            LuckTextBox->Text = "";
            StartItemCheckBox->Checked = false;

            WWeightTextBox->Text = "";
            HWeightTextBox->Text = "";
            BWeightText->Text = "";
            EffectTextBox->Text = "";

            PoisonRecoverytextBox->Text = "";
            SpellRecoverytextBox->Text = "";
            MagicResisttextBox->Text = "";
            HealthRecoveryTextbox->Text = "";
            StrongTextbox->Text = "";
            MacRateTextbox->Text = "";
            ACRateTextbox->Text = "";
            PoisonResisttextBox->Text = "";
            PoisonAttacktextbox->Text = "";
            Freezingtextbox->Text = "";
            Holytextbox->Text = "";
            HPratetextbox->Text = "";
            MPratetextbox->Text = "";
            HpDrainRatetextBox->Text = "";
            CriticalDamagetextBox->Text = "";
            CriticalRatetextBox->Text = "";
            ReflecttextBox->Text = "";

            LevelBasedcheckbox->Checked = false;
            ClassBasedcheckbox->Checked = false;

            Bind_dontstorecheckbox->Checked = false;
            Bind_dontupgradecheckbox->Checked = false;
            Bind_dontrepaircheckbox->Checked = false;
            Bind_donttradecheckbox->Checked = false;
            Bind_dontsellcheckbox->Checked = false;
            Bind_destroyondropcheckbox->Checked = false;
            Bind_dontdeathdropcheckbox->Checked = false;
            Bind_dontdropcheckbox->Checked = false;
            Bind_DontSpecialRepaircheckBox->Checked = false;

            NeedIdentifycheckbox->Checked = false;
            ShowGroupPickupcheckbox->Checked = false;
            globalDropNotify_CheckBox->Checked = false;
            BindOnEquipcheckbox->Checked = false;
            ParalysischeckBox->Checked = false;
            TeleportcheckBox->Checked = false;
            ClearcheckBox->Checked = false;
            ProtectioncheckBox->Checked = false;
            RevivalcheckBox->Checked = false;
            MusclecheckBox->Checked = false;
            FlamecheckBox->Checked = false;
            HealingcheckBox->Checked = false;
            ProbecheckBox->Checked = false;
            SkillcheckBox->Checked = false;
            NoDuraLosscheckBox->Checked = false;
            RandomStatstextBox->Text = "";
            PickaxecheckBox->Checked = false;
            FastRunCheckBox->Checked = false;
            CanAwaken->Checked = false;
            TooltipTextBox->Text = "";
            BlinkcheckBox->Checked = false;
            return;
        }

        ItemInfo *info = _selectedItemInfos[0];

        ItemInfoPanel->Enabled = true;

        ItemIndexTextBox->Text = std::to_string(info->Index);
        ItemNameTextBox->Text = info->Name;
        WeightTextBox->Text = std::to_string(info->Weight);
        ImageTextBox->Text = std::to_string(info->Image);
        DuraTextBox->Text = std::to_string(info->Durability);
        ITypeComboBox->SelectedItem = info->Type;
        IGradeComboBox->SelectedItem = info->Grade;
        ISetComboBox->SelectedItem = info->Set;
        ShapeTextBox->Text = std::to_string(info->Shape);
        SSizeTextBox->Text = std::to_string(info->StackSize);
        PriceTextBox->Text = std::to_string(info->Price);
        RTypeComboBox->SelectedItem = info->RequiredType;
        RAmountTextBox->Text = std::to_string(info->RequiredAmount);
        RClassComboBox->SelectedItem = info->RequiredClass;
        RGenderComboBox->SelectedItem = info->RequiredGender;
        LightTextBox->Text = std::to_string(info->Light % 15);
        LightIntensitytextBox->Text = std::to_string(info->Light / 15);

        MinACTextBox->Text = std::to_string(info->Stats[Stat::MinAC]);
        MaxACTextBox->Text = std::to_string(info->Stats[Stat::MaxAC]);
        MinMACTextBox->Text = std::to_string(info->Stats[Stat::MinMAC]);
        MaxMACTextBox->Text = std::to_string(info->Stats[Stat::MaxMAC]);
        MinDCTextBox->Text = std::to_string(info->Stats[Stat::MinDC]);
        MaxDCTextBox->Text = std::to_string(info->Stats[Stat::MaxDC]);
        MinMCTextBox->Text = std::to_string(info->Stats[Stat::MinMC]);
        MaxMCTextBox->Text = std::to_string(info->Stats[Stat::MaxMC]);
        MinSCTextBox->Text = std::to_string(info->Stats[Stat::MinSC]);
        MaxSCTextBox->Text = std::to_string(info->Stats[Stat::MaxSC]);
        HPTextBox->Text = std::to_string(info->Stats[Stat::HP]);
        MPTextBox->Text = std::to_string(info->Stats[Stat::MP]);
        AccuracyTextBox->Text = std::to_string(info->Stats[Stat::Accuracy]);
        AgilityTextBox->Text = std::to_string(info->Stats[Stat::Agility]);
        ASpeedTextBox->Text = std::to_string(info->Stats[Stat::AttackSpeed]);
        LuckTextBox->Text = std::to_string(info->Stats[Stat::Luck]);

        WWeightTextBox->Text = std::to_string(info->Stats[Stat::WearWeight]);
        HWeightTextBox->Text = std::to_string(info->Stats[Stat::HandWeight]);
        BWeightText->Text = std::to_string(info->Stats[Stat::BagWeight]);

        StartItemCheckBox->Checked = info->StartItem;
        EffectTextBox->Text = std::to_string(info->Effect);
        SlotsTextBox->Text = std::to_string(info->Slots);

        PoisonRecoverytextBox->Text = std::to_string(info->Stats[Stat::PoisonRecovery]);
        SpellRecoverytextBox->Text = std::to_string(info->Stats[Stat::SpellRecovery]);
        MagicResisttextBox->Text = std::to_string(info->Stats[Stat::MagicResist]);
        HealthRecoveryTextbox->Text = std::to_string(info->Stats[Stat::HealthRecovery]);
        StrongTextbox->Text = std::to_string(info->Stats[Stat::Strong]);
        MacRateTextbox->Text = std::to_string(info->Stats[Stat::MaxMACRatePercent]);
        ACRateTextbox->Text = std::to_string(info->Stats[Stat::MaxACRatePercent]);
        PoisonResisttextBox->Text = std::to_string(info->Stats[Stat::PoisonResist]);
        PoisonAttacktextbox->Text = std::to_string(info->Stats[Stat::PoisonAttack]);
        Freezingtextbox->Text = std::to_string(info->Stats[Stat::Freezing]);
        Holytextbox->Text = std::to_string(info->Stats[Stat::Holy]);
        HPratetextbox->Text = std::to_string(info->Stats[Stat::HPRatePercent]);
        MPratetextbox->Text = std::to_string(info->Stats[Stat::MPRatePercent]);
        HpDrainRatetextBox->Text = std::to_string(info->Stats[Stat::HPDrainRatePercent]);
        CriticalRatetextBox->Text = std::to_string(info->Stats[Stat::CriticalRate]);
        CriticalDamagetextBox->Text = std::to_string(info->Stats[Stat::CriticalDamage]);
        ReflecttextBox->Text = std::to_string(info->Stats[Stat::Reflect]);

        LevelBasedcheckbox->Checked = info->LevelBased;
        ClassBasedcheckbox->Checked = info->ClassBased;


        Bind_dontstorecheckbox->Checked = info->Bind::HasFlag(BindMode::DontStore);
        Bind_dontupgradecheckbox->Checked = info->Bind::HasFlag(BindMode::DontUpgrade);
        Bind_dontrepaircheckbox->Checked = info->Bind::HasFlag(BindMode::DontRepair);
        Bind_donttradecheckbox->Checked = info->Bind::HasFlag(BindMode::DontTrade);
        Bind_dontsellcheckbox->Checked = info->Bind::HasFlag(BindMode::DontSell);
        Bind_destroyondropcheckbox->Checked = info->Bind::HasFlag(BindMode::DestroyOnDrop);
        Bind_dontdeathdropcheckbox->Checked = info->Bind::HasFlag(BindMode::DontDeathdrop);
        Bind_dontdropcheckbox->Checked = info->Bind::HasFlag(BindMode::DontDrop);
        Bind_DontSpecialRepaircheckBox->Checked = info->Bind::HasFlag(BindMode::NoSRepair);
        BindOnEquipcheckbox->Checked = info->Bind::HasFlag(BindMode::BindOnEquip);
        BreakOnDeathcheckbox->Checked = info->Bind::HasFlag(BindMode::BreakOnDeath);
        NoWeddingRingcheckbox->Checked = info->Bind::HasFlag(BindMode::NoWeddingRing);
        unableToRent_CheckBox->Checked = info->Bind::HasFlag(BindMode::UnableToRent);
        unableToDisassemble_CheckBox->Checked = info->Bind::HasFlag(BindMode::UnableToDisassemble);
        noMailBox->Checked = info->Bind::HasFlag(BindMode::NoMail);

        NeedIdentifycheckbox->Checked = info->NeedIdentify;
        ShowGroupPickupcheckbox->Checked = info->ShowGroupPickup;
        globalDropNotify_CheckBox->Checked = info->GlobalDropNotify;


        ParalysischeckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Paralize);
        TeleportcheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Teleport);
        ClearcheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::ClearRing);
        ProtectioncheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Protection);
        RevivalcheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Revival);
        MusclecheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Muscle);
        FlamecheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Flame);
        HealingcheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Healing);
        ProbecheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Probe);
        SkillcheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Skill);
        NoDuraLosscheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::NoDuraLoss);
        RandomStatstextBox->Text = std::to_string(info->RandomStatsId);
        PickaxecheckBox->Checked = info->CanMine;
        FastRunCheckBox->Checked = info->CanFastRun;
        CanAwaken->Checked = info->CanAwakening;
        TooltipTextBox->Text = info->ToolTip;
        BlinkcheckBox->Checked = info->Unique::HasFlag(SpecialItemMode::Blink);

        for (int i = 1; i < _selectedItemInfos.size(); i++)
        {
            info = _selectedItemInfos[i];

            if (ItemIndexTextBox->Text != std::to_string(info->Index))
            {
                ItemIndexTextBox->Text = "";
            }
            if (ItemNameTextBox->Text != info->Name)
            {
                ItemNameTextBox->Text = "";
            }

            if (WeightTextBox->Text != std::to_string(info->Weight))
            {
                WeightTextBox->Text = "";
            }
            if (ImageTextBox->Text != std::to_string(info->Image))
            {
                ImageTextBox->Text = "";
            }
            if (DuraTextBox->Text != std::to_string(info->Durability))
            {
                DuraTextBox->Text = "";
            }
            if (ITypeComboBox->SelectedItem == nullptr || static_cast<ItemType>(ITypeComboBox->SelectedItem) != info->Type)
            {
                ITypeComboBox->SelectedItem = nullptr;
            }
            if (IGradeComboBox->SelectedItem == nullptr || static_cast<ItemGrade>(IGradeComboBox->SelectedItem) != info->Grade)
            {
                IGradeComboBox->SelectedItem = nullptr;
            }
            if (ISetComboBox->SelectedItem == nullptr || static_cast<ItemSet>(ISetComboBox->SelectedItem) != info->Set)
            {
                ISetComboBox->SelectedItem = nullptr;
            }
            if (ShapeTextBox->Text != std::to_string(info->Shape))
            {
                ShapeTextBox->Text = "";
            }
            if (SSizeTextBox->Text != std::to_string(info->StackSize))
            {
                SSizeTextBox->Text = "";
            }
            if (PriceTextBox->Text != std::to_string(info->Price))
            {
                PriceTextBox->Text = "";
            }
            if (RTypeComboBox->SelectedItem == nullptr || static_cast<RequiredType>(RTypeComboBox->SelectedItem) != info->RequiredType)
            {
                RTypeComboBox->SelectedItem = nullptr;
            }
            if (RAmountTextBox->Text != std::to_string(info->RequiredAmount))
            {
                RAmountTextBox->Text = "";
            }
            if (RClassComboBox->SelectedItem == nullptr || static_cast<RequiredClass>(RClassComboBox->SelectedItem) != info->RequiredClass)
            {
                RClassComboBox->SelectedItem = nullptr;
            }
            if (RGenderComboBox->SelectedItem == nullptr || static_cast<RequiredGender>(RGenderComboBox->SelectedItem) != info->RequiredGender)
            {
                RGenderComboBox->SelectedItem = nullptr;
            }
            if (LightTextBox->Text != std::to_string(info->Light % 15))
            {
                LightTextBox->Text = "";
            }
            if (LightIntensitytextBox->Text != std::to_string(info->Light / 15))
            {
                LightIntensitytextBox->Text = "";
            }

            if (MinACTextBox->Text != std::to_string(info->Stats[Stat::MinAC]))
            {
                MinACTextBox->Text = "";
            }
            if (MaxACTextBox->Text != std::to_string(info->Stats[Stat::MaxAC]))
            {
                MaxACTextBox->Text = "";
            }
            if (MinMACTextBox->Text != std::to_string(info->Stats[Stat::MinMAC]))
            {
                MinMACTextBox->Text = "";
            }
            if (MaxMACTextBox->Text != std::to_string(info->Stats[Stat::MaxMAC]))
            {
                MaxMACTextBox->Text = "";
            }
            if (MinDCTextBox->Text != std::to_string(info->Stats[Stat::MinDC]))
            {
                MinDCTextBox->Text = "";
            }
            if (MaxDCTextBox->Text != std::to_string(info->Stats[Stat::MaxDC]))
            {
                MaxDCTextBox->Text = "";
            }
            if (MinMCTextBox->Text != std::to_string(info->Stats[Stat::MinMC]))
            {
                MinMCTextBox->Text = "";
            }
            if (MaxMCTextBox->Text != std::to_string(info->Stats[Stat::MaxMC]))
            {
                MaxMCTextBox->Text = "";
            }
            if (MinSCTextBox->Text != std::to_string(info->Stats[Stat::MinSC]))
            {
                MinSCTextBox->Text = "";
            }
            if (MaxSCTextBox->Text != std::to_string(info->Stats[Stat::MaxSC]))
            {
                MaxSCTextBox->Text = "";
            }
            if (HPTextBox->Text != std::to_string(info->Stats[Stat::HP]))
            {
                HPTextBox->Text = "";
            }
            if (MPTextBox->Text != std::to_string(info->Stats[Stat::MP]))
            {
                MPTextBox->Text = "";
            }
            if (AccuracyTextBox->Text != std::to_string(info->Stats[Stat::Accuracy]))
            {
                AccuracyTextBox->Text = "";
            }
            if (AgilityTextBox->Text != std::to_string(info->Stats[Stat::Agility]))
            {
                AgilityTextBox->Text = "";
            }
            if (ASpeedTextBox->Text != std::to_string(info->Stats[Stat::AttackSpeed]))
            {
                ASpeedTextBox->Text = "";
            }
            if (LuckTextBox->Text != std::to_string(info->Stats[Stat::Luck]))
            {
                LuckTextBox->Text = "";
            }

            if (WWeightTextBox->Text != std::to_string(info->Stats[Stat::WearWeight]))
            {
                WWeightTextBox->Text = "";
            }
            if (HWeightTextBox->Text != std::to_string(info->Stats[Stat::HandWeight]))
            {
                HWeightTextBox->Text = "";
            }
            if (BWeightText->Text != std::to_string(info->Stats[Stat::BagWeight]))
            {
                BWeightText->Text = "";
            }

            if (StartItemCheckBox->Checked != info->StartItem)
            {
                StartItemCheckBox->CheckState = CheckState::Indeterminate;
            }
            if (EffectTextBox->Text != std::to_string(info->Effect))
            {
                EffectTextBox->Text = "";
            }
            if (SlotsTextBox->Text != std::to_string(info->Slots))
            {
                SlotsTextBox->Text = "";
            }

            if (PoisonRecoverytextBox->Text != std::to_string(info->Stats[Stat::PoisonRecovery]))
            {
                PoisonRecoverytextBox->Text = "";
            }
            if (SpellRecoverytextBox->Text != std::to_string(info->Stats[Stat::SpellRecovery]))
            {
                SpellRecoverytextBox->Text = "";
            }
            if (MagicResisttextBox->Text != std::to_string(info->Stats[Stat::MagicResist]))
            {
                MagicResisttextBox->Text = "";
            }
            if (HealthRecoveryTextbox->Text != std::to_string(info->Stats[Stat::HealthRecovery]))
            {
                HealthRecoveryTextbox->Text = "";
            }
            if (StrongTextbox->Text != std::to_string(info->Stats[Stat::Strong]))
            {
                StrongTextbox->Text = "";
            }
            if (MacRateTextbox->Text != std::to_string(info->Stats[Stat::MaxMACRatePercent]))
            {
                MacRateTextbox->Text = "";
            }
            if (ACRateTextbox->Text != std::to_string(info->Stats[Stat::MaxACRatePercent]))
            {
                ACRateTextbox->Text = "";
            }
            if (PoisonResisttextBox->Text != std::to_string(info->Stats[Stat::PoisonResist]))
            {
                PoisonResisttextBox->Text = "";
            }
            if (PoisonAttacktextbox->Text != std::to_string(info->Stats[Stat::PoisonAttack]))
            {
                PoisonAttacktextbox->Text = "";
            }
            if (Freezingtextbox->Text != std::to_string(info->Stats[Stat::Freezing]))
            {
                Freezingtextbox->Text = "";
            }
            if (Holytextbox->Text != std::to_string(info->Stats[Stat::Holy]))
            {
                Holytextbox->Text = "";
            }
            if (HPratetextbox->Text != std::to_string(info->Stats[Stat::HPRatePercent]))
            {
                HPratetextbox->Text = "";
            }
            if (MPratetextbox->Text != std::to_string(info->Stats[Stat::MPRatePercent]))
            {
                MPratetextbox->Text = "";
            }
            if (HpDrainRatetextBox->Text != std::to_string(info->Stats[Stat::HPDrainRatePercent]))
            {
                HpDrainRatetextBox->Text = "";
            }
            if (CriticalRatetextBox->Text != std::to_string(info->Stats[Stat::CriticalRate]))
            {
                CriticalRatetextBox->Text = "";
            }
            if (CriticalDamagetextBox->Text != std::to_string(info->Stats[Stat::CriticalDamage]))
            {
                CriticalDamagetextBox->Text = "";
            }
            if (ReflecttextBox->Text != std::to_string(info->Stats[Stat::Reflect]))
            {
                ReflecttextBox->Text = "";
            }
            if (LevelBasedcheckbox->Checked != info->LevelBased)
            {
                LevelBasedcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (ClassBasedcheckbox->Checked != info->ClassBased)
            {
                ClassBasedcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_dontstorecheckbox->Checked != info->Bind::HasFlag(BindMode::DontStore))
            {
                Bind_dontstorecheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_dontupgradecheckbox->Checked != info->Bind::HasFlag(BindMode::DontUpgrade))
            {
                Bind_dontupgradecheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_dontrepaircheckbox->Checked != info->Bind::HasFlag(BindMode::DontRepair))
            {
                Bind_dontrepaircheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_donttradecheckbox->Checked != info->Bind::HasFlag(BindMode::DontTrade))
            {
                Bind_donttradecheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_dontsellcheckbox->Checked != info->Bind::HasFlag(BindMode::DontSell))
            {
                Bind_dontsellcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_destroyondropcheckbox->Checked != info->Bind::HasFlag(BindMode::DestroyOnDrop))
            {
                Bind_destroyondropcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_dontdeathdropcheckbox->Checked != info->Bind::HasFlag(BindMode::DontDeathdrop))
            {
                Bind_dontdeathdropcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_dontdropcheckbox->Checked != info->Bind::HasFlag(BindMode::DontDrop))
            {
                Bind_dontdropcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (Bind_DontSpecialRepaircheckBox->Checked != info->Bind::HasFlag(BindMode::NoSRepair))
            {
                Bind_DontSpecialRepaircheckBox->CheckState = CheckState::Indeterminate;
            }
            if (BindOnEquipcheckbox->Checked != info->Bind::HasFlag(BindMode::BindOnEquip))
            {
                BindOnEquipcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (BreakOnDeathcheckbox->Checked != info->Bind::HasFlag(BindMode::BreakOnDeath))
            {
                BreakOnDeathcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (NoWeddingRingcheckbox->Checked != info->Bind::HasFlag(BindMode::NoWeddingRing))
            {
                NoWeddingRingcheckbox->CheckState = CheckState::Indeterminate;
            }

            if (unableToRent_CheckBox->Checked != info->Bind::HasFlag(BindMode::UnableToRent))
            {
                unableToRent_CheckBox->CheckState = CheckState::Indeterminate;
            }

            if (unableToDisassemble_CheckBox->Checked != info->Bind::HasFlag(BindMode::UnableToDisassemble))
            {
                unableToDisassemble_CheckBox->CheckState = CheckState::Indeterminate;
            }
            if (noMailBox->Checked != info->Bind::HasFlag(BindMode::NoMail))
            {
                noMailBox->CheckState = CheckState::Indeterminate;
            }

            if (NeedIdentifycheckbox->Checked != info->NeedIdentify)
            {
                NeedIdentifycheckbox->CheckState = CheckState::Indeterminate;
            }
            if (ShowGroupPickupcheckbox->Checked != info->ShowGroupPickup)
            {
                ShowGroupPickupcheckbox->CheckState = CheckState::Indeterminate;
            }
            if (globalDropNotify_CheckBox->Checked != info->GlobalDropNotify)
            {
                globalDropNotify_CheckBox->CheckState = CheckState::Indeterminate;
            }

            if (ParalysischeckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Paralize))
            {
                ParalysischeckBox->CheckState = CheckState::Indeterminate;
            }
            if (TeleportcheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Teleport))
            {
                TeleportcheckBox->CheckState = CheckState::Indeterminate;
            }
            if (ClearcheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::ClearRing))
            {
                ClearcheckBox->CheckState = CheckState::Indeterminate;
            }
            if (ProtectioncheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Protection))
            {
                ProtectioncheckBox->CheckState = CheckState::Indeterminate;
            }
            if (RevivalcheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Revival))
            {
                RevivalcheckBox->CheckState = CheckState::Indeterminate;
            }
            if (MusclecheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Muscle))
            {
                MusclecheckBox->CheckState = CheckState::Indeterminate;
            }
            if (FlamecheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Flame))
            {
                FlamecheckBox->CheckState = CheckState::Indeterminate;
            }
            if (HealingcheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Healing))
            {
                HealingcheckBox->CheckState = CheckState::Indeterminate;
            }
            if (ProbecheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Probe))
            {
                ProbecheckBox->CheckState = CheckState::Indeterminate;
            }
            if (SkillcheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Skill))
            {
                SkillcheckBox->CheckState = CheckState::Indeterminate;
            }
            if (NoDuraLosscheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::NoDuraLoss))
            {
                NoDuraLosscheckBox->CheckState = CheckState::Indeterminate;
            }
            if (RandomStatstextBox->Text != std::to_string(info->RandomStatsId))
            {
                RandomStatstextBox->Text = "";
            }
            if (PickaxecheckBox->Checked != info->CanMine)
            {
                PickaxecheckBox->CheckState = CheckState::Indeterminate;
            }
            if (FastRunCheckBox->Checked != info->CanFastRun)
            {
                FastRunCheckBox->CheckState = CheckState::Indeterminate;
            }
            if (CanAwaken->Checked != info->CanAwakening)
            {
                CanAwaken->CheckState = CheckState::Indeterminate;
            }
            if (TooltipTextBox->Text != info->ToolTip)
            {
                TooltipTextBox->Text = "";
            }
            if (BlinkcheckBox->Checked != info->Unique::HasFlag(SpecialItemMode::Blink))
            {
                BlinkcheckBox->CheckState = CheckState::Indeterminate;
            }
        }
        RefreshUniqueTab();
    }

    void ItemInfoForm::RefreshItemList()
    {
        ItemInfoListBox->SelectedIndexChanged -= ItemInfoListBox_SelectedIndexChanged;

        std::vector<bool> selected;

        for (int i = 0; i < ItemInfoListBox->Items->Count; i++)
        {
            selected.push_back(ItemInfoListBox->GetSelected(i));
        }
        ItemInfoListBox->Items->Clear();
        for (int i = 0; i < getEnvir()->ItemInfoList.size(); i++)
        {
            if (ITypeFilterComboBox->SelectedItem == nullptr || ITypeFilterComboBox->SelectedIndex == ITypeFilterComboBox->Items->Count - 1 || getEnvir()->ItemInfoList[i]->Type == static_cast<ItemType>(ITypeFilterComboBox->SelectedItem))
            {
                ItemInfoListBox->Items->Add(getEnvir()->ItemInfoList[i]);
            }
        };
        for (int i = 0; i < selected.size(); i++)
        {
            ItemInfoListBox->SetSelected(i, selected[i]);
        }

        ItemInfoListBox->SelectedIndexChanged += ItemInfoListBox_SelectedIndexChanged;
    }

    void ItemInfoForm::AddButton_Click(std::any sender, EventArgs *e)
    {
        if (ITypeFilterComboBox->SelectedIndex == ITypeFilterComboBox->Items->Count - 1)
        {
            getEnvir()->CreateItemInfo();
            ITypeFilterComboBox->SelectedIndex = ITypeFilterComboBox->Items->Count - 1;
        }
        else
        {
            getEnvir()->CreateItemInfo(static_cast<ItemType>(ITypeFilterComboBox->SelectedItem));
        }

        UpdateInterface(true);
    }

    void ItemInfoForm::ItemInfoListBox_SelectedIndexChanged(std::any sender, EventArgs *e)
    {
        UpdateInterface();
    }

    void ItemInfoForm::ITypeFilterComboBox_SelectedIndexChanged(std::any sender, EventArgs *e)
    {
        UpdateInterface(true);
    }

    void ItemInfoForm::RemoveButton_Click(std::any sender, EventArgs *e)
    {
        if (_selectedItemInfos.empty())
        {
            return;
        }

        if (MessageBox::Show("Are you sure you want to remove the selected Items?", "Remove Items?", MessageBoxButtons::YesNo) != System::Windows::Forms::DialogResult::Yes)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            getEnvir()->Remove(_selectedItemInfos[i]);
        }

        if (getEnvir()->ItemInfoList.empty())
        {
            getEnvir()->ItemIndex = 0;
        }

        UpdateInterface(true);
    }

    void ItemInfoForm::ItemNameTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Name = ActiveControl->Text;
        }

        RefreshItemList();
    }

    void ItemInfoForm::ITypeComboBox_SelectedIndexChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Type = static_cast<ItemType>(ITypeComboBox->SelectedItem);
        }
    }

    void ItemInfoForm::RTypeComboBox_SelectedIndexChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->RequiredType = static_cast<RequiredType>(RTypeComboBox->SelectedItem);
        }
    }

    void ItemInfoForm::RGenderComboBox_SelectedIndexChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->RequiredGender = static_cast<RequiredGender>(RGenderComboBox->SelectedItem);
        }
    }

    void ItemInfoForm::RClassComboBox_SelectedIndexChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->RequiredClass = static_cast<RequiredClass>(RClassComboBox->SelectedItem);
        }
    }

    void ItemInfoForm::StartItemCheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->StartItem = StartItemCheckBox->Checked;
        }
    }

    void ItemInfoForm::WeightTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Weight = temp;
        }
    }

    void ItemInfoForm::ImageTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned short temp;

        if (!unsigned short::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Image = temp;
        }
    }

    void ItemInfoForm::DuraTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned short temp;

        if (!unsigned short::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Durability = temp;
        }
    }

    void ItemInfoForm::ShapeTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        short temp;

        if (!short::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Shape = temp;
        }
    }

    void ItemInfoForm::SSizeTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned short temp;

        if (!unsigned short::TryParse(ActiveControl->Text, temp) || temp > 999)
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->StackSize = temp;
        }
    }

    void ItemInfoForm::PriceTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned int temp;

        if (!unsigned int::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Price = temp;
        }
    }

    void ItemInfoForm::RAmountTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->RequiredAmount = temp;
        }
    }

    void ItemInfoForm::LightTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        if (temp > 14)
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Light = static_cast<unsigned char>(temp + (_selectedItemInfos[i]->Light / 15) * 15);
        }
    }

    void ItemInfoForm::MinACTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MinAC] = temp;
        }
    }

    void ItemInfoForm::MaxACTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MaxAC] = temp;
        }
    }

    void ItemInfoForm::MinMACTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MinMAC] = temp;
        }
    }

    void ItemInfoForm::MaxMACTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MaxMAC] = temp;
        }
    }

    void ItemInfoForm::MinDCTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MinDC] = temp;
        }
    }

    void ItemInfoForm::MaxDCTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MaxDC] = temp;
        }
    }

    void ItemInfoForm::MinMCTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MinMC] = temp;
        }
    }

    void ItemInfoForm::MaxMCTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MaxMC] = temp;
        }
    }

    void ItemInfoForm::MinSCTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MinSC] = temp;
        }
    }

    void ItemInfoForm::MaxSCTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MaxSC] = temp;
        }
    }

    void ItemInfoForm::HPTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned short temp;

        if (!unsigned short::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::HP] = temp;
        }
    }

    void ItemInfoForm::MPTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned short temp;

        if (!unsigned short::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MP] = temp;
        }
    }

    void ItemInfoForm::AccuracyTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::Accuracy] = temp;
        }
    }

    void ItemInfoForm::AgilityTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::Agility] = temp;
        }
    }

    void ItemInfoForm::ASpeedTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        signed char temp;

        if (!signed char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::AttackSpeed] = temp;
        }
    }

    void ItemInfoForm::LuckTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        signed char temp;

        if (!signed char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::Luck] = temp;
        }
    }

    void ItemInfoForm::BWeightText_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::BagWeight] = temp;
        }
    }

    void ItemInfoForm::HWeightTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::HandWeight] = temp;
        }
    }

    void ItemInfoForm::WWeightTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::WearWeight] = temp;
        }
    }

    void ItemInfoForm::EffectTextBox_TextChanged(std::any sender, EventArgs *e)
    {

        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Effect = temp;
        }
    }

    void ItemInfoForm::ItemInfoForm_FormClosed(std::any sender, FormClosedEventArgs *e)
    {
        getEnvir()->SaveDB();
    }

    void ItemInfoForm::PasteButton_Click(std::any sender, EventArgs *e)
    {
        //string data = Clipboard.GetText();

        //if (!data.StartsWith("Item", StringComparison.OrdinalIgnoreCase))
        //{
        //    MessageBox.Show("Cannot Paste, Copied data is not Item Information.");
        //    return;
        //}


        //string[] items = data.Split(new[] { '\t' }, StringSplitOptions.RemoveEmptyEntries);


        //for (int i = 1; i < items.Length; i++)
        //{
        //    ItemInfo info = ItemInfo.FromText(items[i]);

        //    if (info == null) continue;
        //    info.Index = ++Envir.ItemIndex;
        //    Envir.ItemInfoList.Add(info);
        //}

        //UpdateInterface();
    }

    void ItemInfoForm::CopyMButton_Click(std::any sender, EventArgs *e)
    {

    }

    void ItemInfoForm::ExportAllButton_Click(std::any sender, EventArgs *e)
    {
        //ExportItems(Envir.ItemInfoList);
    }

    void ItemInfoForm::ExportSelectedButton_Click(std::any sender, EventArgs *e)
    {
        //var list = ItemInfoListBox.SelectedItems.Cast<ItemInfo>().ToList();

        //ExportItems(list);
    }

    void ItemInfoForm::ExportItems(std::vector<ItemInfo*> &items)
    {
        //var itemInfos = items as ItemInfo[] ?? items.ToArray();
        //var list = itemInfos.Select(item => item.ToText()).ToList();

        //File.WriteAllLines(ItemListPath, list);

        //MessageBox.Show(itemInfos.Count() + " Items have been exported");
    }

    void ItemInfoForm::ImportButton_Click(std::any sender, EventArgs *e)
    {
        //string Path = string.Empty;

        //OpenFileDialog ofd = new OpenFileDialog();
        //ofd.Filter = "Text File|*.txt";
        //ofd.ShowDialog();

        //if (ofd.FileName == string.Empty) return;

        //Path = ofd.FileName;

        //string data;
        //using (var sr = new StreamReader(Path))
        //{
        //    data = sr.ReadToEnd();
        //}

        //var items = data.Split(new[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries);

        //var count = 0;
        //foreach (var info in items.Select(ItemInfo.FromText).Where(info => info != null))
        //{
        //    count++;
        //    info.Index = ++Envir.ItemIndex;
        //    Envir.ItemInfoList.Add(info);
        //}

        //MessageBox.Show(count + " Items have been imported");
        //UpdateInterface(true);
    }

    void ItemInfoForm::ISetComboBox_SelectedIndexChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Set = static_cast<ItemSet>(ISetComboBox->SelectedItem);
        }
    }

    void ItemInfoForm::ACRateTextbox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MaxACRatePercent] = temp;
        }
    }

    void ItemInfoForm::MacRateTextbox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MaxMACRatePercent] = temp;
        }
    }

    void ItemInfoForm::MagicResisttextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MagicResist] = temp;
        }
    }

    void ItemInfoForm::PoisonResisttextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::PoisonResist] = temp;
        }
    }

    void ItemInfoForm::HealthRecoveryTextbox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::HealthRecovery] = temp;
        }
    }

    void ItemInfoForm::SpellRecoverytextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::SpellRecovery] = temp;
        }
    }

    void ItemInfoForm::PoisonRecoverytextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::PoisonRecovery] = temp;
        }
    }

    void ItemInfoForm::HporMpRatetextbox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::HPRatePercent] = temp;
        }
    }

    void ItemInfoForm::Holytextbox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::Holy] = temp;
        }
    }

    void ItemInfoForm::Freezingtextbox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::Freezing] = temp;
        }
    }

    void ItemInfoForm::PoisonAttacktextbox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::PoisonAttack] = temp;
        }
    }

    void ItemInfoForm::ClassBasedcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->ClassBased = ClassBasedcheckbox->Checked;
        }
    }

    void ItemInfoForm::LevelBasedcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->LevelBased = LevelBasedcheckbox->Checked;
        }
    }

    void ItemInfoForm::Bind_dontdropcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_dontdropcheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::DontDrop : _selectedItemInfos[i]->Bind ^= BindMode::DontDrop);
        }
    }

    void ItemInfoForm::Bind_dontdeathdropcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_dontdeathdropcheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::DontDeathdrop : _selectedItemInfos[i]->Bind ^= BindMode::DontDeathdrop);
        }
    }

    void ItemInfoForm::Bind_destroyondropcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_destroyondropcheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::DestroyOnDrop : _selectedItemInfos[i]->Bind ^= BindMode::DestroyOnDrop);
        }
    }

    void ItemInfoForm::Bind_dontsellcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_dontsellcheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::DontSell : _selectedItemInfos[i]->Bind ^= BindMode::DontSell);
        }
    }

    void ItemInfoForm::Bind_donttradecheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_donttradecheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::DontTrade : _selectedItemInfos[i]->Bind ^= BindMode::DontTrade);
        }
    }

    void ItemInfoForm::Bind_dontrepaircheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_dontrepaircheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::DontRepair : _selectedItemInfos[i]->Bind ^= BindMode::DontRepair);
        }
    }

    void ItemInfoForm::Bind_dontstorecheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_dontstorecheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::DontStore : _selectedItemInfos[i]->Bind ^= BindMode::DontStore);
        }
    }

    void ItemInfoForm::Bind_dontupgradecheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_dontupgradecheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::DontUpgrade : _selectedItemInfos[i]->Bind ^= BindMode::DontUpgrade);
        }
    }

    void ItemInfoForm::NeedIdentifycheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->NeedIdentify = NeedIdentifycheckbox->Checked;
        }
    }

    void ItemInfoForm::ShowGroupPickupcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->ShowGroupPickup = ShowGroupPickupcheckbox->Checked;
        }
    }

    void ItemInfoForm::BindOnEquipcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (BindOnEquipcheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::BindOnEquip : _selectedItemInfos[i]->Bind ^= BindMode::BindOnEquip);
        }
    }

    void ItemInfoForm::MPratetextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::MPRatePercent] = temp;
        }
    }

    void ItemInfoForm::HpDrainRatetextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::HPDrainRatePercent] = temp;
        }
    }

    void ItemInfoForm::ParalysischeckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (ParalysischeckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Paralize : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Paralize);
        }
    }

    void ItemInfoForm::TeleportcheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (TeleportcheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Teleport : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Teleport);
        }
    }

    void ItemInfoForm::ClearcheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (ClearcheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::ClearRing : _selectedItemInfos[i]->Unique ^= SpecialItemMode::ClearRing);
        }
    }

    void ItemInfoForm::ProtectioncheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (ProtectioncheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Protection : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Protection);
        }
    }

    void ItemInfoForm::RevivalcheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (RevivalcheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Revival : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Revival);
        }
    }

    void ItemInfoForm::MusclecheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (MusclecheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Muscle : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Muscle);
        }
    }

    void ItemInfoForm::FlamecheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (FlamecheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Flame : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Flame);
        }
    }

    void ItemInfoForm::HealingcheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (HealingcheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Healing : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Healing);
        }
    }

    void ItemInfoForm::ProbecheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (ProbecheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Probe : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Probe);
        }
    }

    void ItemInfoForm::SkillcheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (SkillcheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Skill : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Skill);
        }
    }

    void ItemInfoForm::NoDuraLosscheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (NoDuraLosscheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::NoDuraLoss : _selectedItemInfos[i]->Unique ^= SpecialItemMode::NoDuraLoss);
        }
    }

    void ItemInfoForm::StrongTextbox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::Strong] = temp;
        }
    }

    void ItemInfoForm::CriticalRatetextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::CriticalRate] = temp;
        }
    }

    void ItemInfoForm::CriticalDamagetextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::CriticalDamage] = temp;
        }
    }

    void ItemInfoForm::ReflecttextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Stats[Stat::Reflect] = temp;
        }
    }

    void ItemInfoForm::Bind_DontSpecialRepaircheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (Bind_DontSpecialRepaircheckBox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::NoSRepair : _selectedItemInfos[i]->Bind ^= BindMode::NoSRepair);
        }
    }

    void ItemInfoForm::BlinkcheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Unique = (BlinkcheckBox->Checked ? _selectedItemInfos[i]->Unique |= SpecialItemMode::Blink : _selectedItemInfos[i]->Unique ^= SpecialItemMode::Blink);
        }
    }

    void ItemInfoForm::LightIntensitytextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        if (temp > 4)
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Light = static_cast<unsigned char>((_selectedItemInfos[i]->Light % 15) + (15 * temp));
        }
    }

    void ItemInfoForm::RandomStatstextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        if ((temp >= Settings::RandomItemStatsList.size()) && (temp != 255))
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;


        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->RandomStatsId = temp;
            if (temp != 255)
            {
                _selectedItemInfos[i]->RandomStats = Settings::RandomItemStatsList[temp];
            }
            else
            {
                _selectedItemInfos[i]->RandomStats = nullptr;
            }
        }
    }

    void ItemInfoForm::PickaxecheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->CanMine = PickaxecheckBox->Checked;
        }
    }

    void ItemInfoForm::IGradeComboBox_SelectedIndexChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Grade = static_cast<ItemGrade>(IGradeComboBox->SelectedItem);
        }
    }

    void ItemInfoForm::FastRunCheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->CanFastRun = FastRunCheckBox->Checked;
        }
    }

    void ItemInfoForm::TooltipTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->ToolTip = TooltipTextBox->Text;
        }
    }

    void ItemInfoForm::CanAwakening_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->CanAwakening = CanAwaken->Checked;
        }
    }

    void ItemInfoForm::BreakOnDeathcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (BreakOnDeathcheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::BreakOnDeath : _selectedItemInfos[i]->Bind ^= BindMode::BreakOnDeath);
        }
    }

    void ItemInfoForm::ItemInfoForm_Load(std::any sender, EventArgs *e)
    {

    }

    void ItemInfoForm::Gameshop_button_Click(std::any sender, EventArgs *e)
    {
        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            getEnvir()->AddToGameShop(_selectedItemInfos[i]);
        }
        getEnvir()->SaveDB();
    }

    void ItemInfoForm::NoWeddingRingcheckbox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }
        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (NoWeddingRingcheckbox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::NoWeddingRing : _selectedItemInfos[i]->Bind ^= BindMode::NoWeddingRing);
        }
    }

    void ItemInfoForm::unableToRent_CheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (auto selectedItem : _selectedItemInfos)
        {
            selectedItem->Bind = unableToRent_CheckBox->Checked ? selectedItem->Bind |= BindMode::UnableToRent : selectedItem->Bind ^= BindMode::UnableToRent;
        }
    }

    void ItemInfoForm::unableToDisassemble_CheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (auto selectedItem : _selectedItemInfos)
        {
            selectedItem->Bind = unableToDisassemble_CheckBox->Checked ? selectedItem->Bind |= BindMode::UnableToDisassemble : selectedItem->Bind ^= BindMode::UnableToDisassemble;
        }
    }

    void ItemInfoForm::globalDropNotify_CheckBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        for (auto itemInfo : _selectedItemInfos)
        {
            itemInfo->GlobalDropNotify = globalDropNotify_CheckBox->Checked;
        }
    }

    void ItemInfoForm::noMailBox_CheckedChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }
        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Bind = (noMailBox->Checked ? _selectedItemInfos[i]->Bind |= BindMode::NoMail : _selectedItemInfos[i]->Bind ^= BindMode::NoMail);
        }
    }

    void ItemInfoForm::SlotsTextBox_TextChanged(std::any sender, EventArgs *e)
    {
        if (ActiveControl != sender)
        {
            return;
        }

        unsigned char temp;

        if (!unsigned char::TryParse(ActiveControl->Text, temp) || temp > 12)
        {
            ActiveControl->BackColor = Color::Red;
            return;
        }
        ActiveControl->BackColor = SystemColors::Window;

        for (int i = 0; i < _selectedItemInfos.size(); i++)
        {
            _selectedItemInfos[i]->Slots = temp;
        }
    }

    void ItemInfoForm::Dispose(bool disposing)
    {
        if (disposing && (components != nullptr))
        {
            components->Dispose();
        }
        System::Windows::Forms::Form::Dispose(disposing);
    }

    void ItemInfoForm::InitializeComponent()
    {
        this->ItemInfoPanel = new System::Windows::Forms::Panel();
        this->tabControl1 = new System::Windows::Forms::TabControl();
        this->tabPage1 = new System::Windows::Forms::TabPage();
        this->label57 = new System::Windows::Forms::Label();
        this->SlotsTextBox = new System::Windows::Forms::TextBox();
        this->globalDropNotify_CheckBox = new System::Windows::Forms::CheckBox();
        this->CanAwaken = new System::Windows::Forms::CheckBox();
        this->label56 = new System::Windows::Forms::Label();
        this->TooltipTextBox = new System::Windows::Forms::TextBox();
        this->FastRunCheckBox = new System::Windows::Forms::CheckBox();
        this->label55 = new System::Windows::Forms::Label();
        this->IGradeComboBox = new System::Windows::Forms::ComboBox();
        this->RandomStatstextBox = new System::Windows::Forms::TextBox();
        this->label54 = new System::Windows::Forms::Label();
        this->LightIntensitytextBox = new System::Windows::Forms::TextBox();
        this->label53 = new System::Windows::Forms::Label();
        this->NeedIdentifycheckbox = new System::Windows::Forms::CheckBox();
        this->label1 = new System::Windows::Forms::Label();
        this->ItemIndexTextBox = new System::Windows::Forms::TextBox();
        this->StartItemCheckBox = new System::Windows::Forms::CheckBox();
        this->ClassBasedcheckbox = new System::Windows::Forms::CheckBox();
        this->LevelBasedcheckbox = new System::Windows::Forms::CheckBox();
        this->ShowGroupPickupcheckbox = new System::Windows::Forms::CheckBox();
        this->label3 = new System::Windows::Forms::Label();
        this->ItemNameTextBox = new System::Windows::Forms::TextBox();
        this->label2 = new System::Windows::Forms::Label();
        this->EffectTextBox = new System::Windows::Forms::TextBox();
        this->ITypeComboBox = new System::Windows::Forms::ComboBox();
        this->label34 = new System::Windows::Forms::Label();
        this->label4 = new System::Windows::Forms::Label();
        this->PriceTextBox = new System::Windows::Forms::TextBox();
        this->RTypeComboBox = new System::Windows::Forms::ComboBox();
        this->label12 = new System::Windows::Forms::Label();
        this->DuraTextBox = new System::Windows::Forms::TextBox();
        this->label5 = new System::Windows::Forms::Label();
        this->label11 = new System::Windows::Forms::Label();
        this->RClassComboBox = new System::Windows::Forms::ComboBox();
        this->LightTextBox = new System::Windows::Forms::TextBox();
        this->label6 = new System::Windows::Forms::Label();
        this->label9 = new System::Windows::Forms::Label();
        this->RAmountTextBox = new System::Windows::Forms::TextBox();
        this->WeightTextBox = new System::Windows::Forms::TextBox();
        this->label10 = new System::Windows::Forms::Label();
        this->label8 = new System::Windows::Forms::Label();
        this->ImageTextBox = new System::Windows::Forms::TextBox();
        this->ShapeTextBox = new System::Windows::Forms::TextBox();
        this->SSizeTextBox = new System::Windows::Forms::TextBox();
        this->label7 = new System::Windows::Forms::Label();
        this->label13 = new System::Windows::Forms::Label();
        this->label33 = new System::Windows::Forms::Label();
        this->RGenderComboBox = new System::Windows::Forms::ComboBox();
        this->ISetComboBox = new System::Windows::Forms::ComboBox();
        this->label35 = new System::Windows::Forms::Label();
        this->tabPage2 = new System::Windows::Forms::TabPage();
        this->groupBox1 = new System::Windows::Forms::GroupBox();
        this->label50 = new System::Windows::Forms::Label();
        this->label52 = new System::Windows::Forms::Label();
        this->label49 = new System::Windows::Forms::Label();
        this->ReflecttextBox = new System::Windows::Forms::TextBox();
        this->HpDrainRatetextBox = new System::Windows::Forms::TextBox();
        this->CriticalDamagetextBox = new System::Windows::Forms::TextBox();
        this->CriticalRatetextBox = new System::Windows::Forms::TextBox();
        this->label51 = new System::Windows::Forms::Label();
        this->label37 = new System::Windows::Forms::Label();
        this->label14 = new System::Windows::Forms::Label();
        this->MinACTextBox = new System::Windows::Forms::TextBox();
        this->MPratetextbox = new System::Windows::Forms::TextBox();
        this->label15 = new System::Windows::Forms::Label();
        this->label48 = new System::Windows::Forms::Label();
        this->MaxACTextBox = new System::Windows::Forms::TextBox();
        this->label17 = new System::Windows::Forms::Label();
        this->MinMACTextBox = new System::Windows::Forms::TextBox();
        this->label16 = new System::Windows::Forms::Label();
        this->MaxMACTextBox = new System::Windows::Forms::TextBox();
        this->label21 = new System::Windows::Forms::Label();
        this->MinDCTextBox = new System::Windows::Forms::TextBox();
        this->label20 = new System::Windows::Forms::Label();
        this->MaxDCTextBox = new System::Windows::Forms::TextBox();
        this->label19 = new System::Windows::Forms::Label();
        this->PoisonAttacktextbox = new System::Windows::Forms::TextBox();
        this->MinMCTextBox = new System::Windows::Forms::TextBox();
        this->label47 = new System::Windows::Forms::Label();
        this->label18 = new System::Windows::Forms::Label();
        this->Freezingtextbox = new System::Windows::Forms::TextBox();
        this->MaxMCTextBox = new System::Windows::Forms::TextBox();
        this->label46 = new System::Windows::Forms::Label();
        this->label23 = new System::Windows::Forms::Label();
        this->Holytextbox = new System::Windows::Forms::TextBox();
        this->MinSCTextBox = new System::Windows::Forms::TextBox();
        this->label45 = new System::Windows::Forms::Label();
        this->label22 = new System::Windows::Forms::Label();
        this->HPratetextbox = new System::Windows::Forms::TextBox();
        this->MaxSCTextBox = new System::Windows::Forms::TextBox();
        this->label44 = new System::Windows::Forms::Label();
        this->label25 = new System::Windows::Forms::Label();
        this->PoisonRecoverytextBox = new System::Windows::Forms::TextBox();
        this->HPTextBox = new System::Windows::Forms::TextBox();
        this->label43 = new System::Windows::Forms::Label();
        this->label24 = new System::Windows::Forms::Label();
        this->SpellRecoverytextBox = new System::Windows::Forms::TextBox();
        this->MPTextBox = new System::Windows::Forms::TextBox();
        this->label42 = new System::Windows::Forms::Label();
        this->label27 = new System::Windows::Forms::Label();
        this->PoisonResisttextBox = new System::Windows::Forms::TextBox();
        this->AccuracyTextBox = new System::Windows::Forms::TextBox();
        this->label41 = new System::Windows::Forms::Label();
        this->label26 = new System::Windows::Forms::Label();
        this->MagicResisttextBox = new System::Windows::Forms::TextBox();
        this->AgilityTextBox = new System::Windows::Forms::TextBox();
        this->label40 = new System::Windows::Forms::Label();
        this->label29 = new System::Windows::Forms::Label();
        this->HealthRecoveryTextbox = new System::Windows::Forms::TextBox();
        this->ASpeedTextBox = new System::Windows::Forms::TextBox();
        this->label39 = new System::Windows::Forms::Label();
        this->label28 = new System::Windows::Forms::Label();
        this->StrongTextbox = new System::Windows::Forms::TextBox();
        this->LuckTextBox = new System::Windows::Forms::TextBox();
        this->label38 = new System::Windows::Forms::Label();
        this->label31 = new System::Windows::Forms::Label();
        this->MacRateTextbox = new System::Windows::Forms::TextBox();
        this->BWeightText = new System::Windows::Forms::TextBox();
        this->label30 = new System::Windows::Forms::Label();
        this->ACRateTextbox = new System::Windows::Forms::TextBox();
        this->HWeightTextBox = new System::Windows::Forms::TextBox();
        this->label36 = new System::Windows::Forms::Label();
        this->label32 = new System::Windows::Forms::Label();
        this->WWeightTextBox = new System::Windows::Forms::TextBox();
        this->tabPage3 = new System::Windows::Forms::TabPage();
        this->noMailBox = new System::Windows::Forms::CheckBox();
        this->unableToDisassemble_CheckBox = new System::Windows::Forms::CheckBox();
        this->unableToRent_CheckBox = new System::Windows::Forms::CheckBox();
        this->NoWeddingRingcheckbox = new System::Windows::Forms::CheckBox();
        this->BreakOnDeathcheckbox = new System::Windows::Forms::CheckBox();
        this->Bind_DontSpecialRepaircheckBox = new System::Windows::Forms::CheckBox();
        this->Bind_dontdropcheckbox = new System::Windows::Forms::CheckBox();
        this->BindOnEquipcheckbox = new System::Windows::Forms::CheckBox();
        this->Bind_dontdeathdropcheckbox = new System::Windows::Forms::CheckBox();
        this->Bind_dontstorecheckbox = new System::Windows::Forms::CheckBox();
        this->Bind_destroyondropcheckbox = new System::Windows::Forms::CheckBox();
        this->Bind_dontupgradecheckbox = new System::Windows::Forms::CheckBox();
        this->Bind_dontsellcheckbox = new System::Windows::Forms::CheckBox();
        this->Bind_dontrepaircheckbox = new System::Windows::Forms::CheckBox();
        this->Bind_donttradecheckbox = new System::Windows::Forms::CheckBox();
        this->tabPage4 = new System::Windows::Forms::TabPage();
        this->PickaxecheckBox = new System::Windows::Forms::CheckBox();
        this->NoDuraLosscheckBox = new System::Windows::Forms::CheckBox();
        this->SkillcheckBox = new System::Windows::Forms::CheckBox();
        this->ProbecheckBox = new System::Windows::Forms::CheckBox();
        this->HealingcheckBox = new System::Windows::Forms::CheckBox();
        this->FlamecheckBox = new System::Windows::Forms::CheckBox();
        this->MusclecheckBox = new System::Windows::Forms::CheckBox();
        this->RevivalcheckBox = new System::Windows::Forms::CheckBox();
        this->ProtectioncheckBox = new System::Windows::Forms::CheckBox();
        this->ClearcheckBox = new System::Windows::Forms::CheckBox();
        this->TeleportcheckBox = new System::Windows::Forms::CheckBox();
        this->ParalysischeckBox = new System::Windows::Forms::CheckBox();
        this->BlinkcheckBox = new System::Windows::Forms::CheckBox();
        this->RemoveButton = new System::Windows::Forms::Button();
        this->AddButton = new System::Windows::Forms::Button();
        this->ItemInfoListBox = new System::Windows::Forms::ListBox();
        this->PasteButton = new System::Windows::Forms::Button();
        this->CopyMButton = new System::Windows::Forms::Button();
        this->ITypeFilterComboBox = new System::Windows::Forms::ComboBox();
        this->ExportAllButton = new System::Windows::Forms::Button();
        this->ExportSelectedButton = new System::Windows::Forms::Button();
        this->ImportButton = new System::Windows::Forms::Button();
        this->Gameshop_button = new System::Windows::Forms::Button();
        this->ItemInfoPanel->SuspendLayout();
        this->tabControl1->SuspendLayout();
        this->tabPage1->SuspendLayout();
        this->tabPage2->SuspendLayout();
        this->groupBox1->SuspendLayout();
        this->tabPage3->SuspendLayout();
        this->tabPage4->SuspendLayout();
        this->SuspendLayout();
        // 
        // ItemInfoPanel
        // 
        this->ItemInfoPanel->Anchor = (static_cast<System::Windows::Forms::AnchorStyles*>((((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom) | System::Windows::Forms::AnchorStyles::Left) | System::Windows::Forms::AnchorStyles::Right)));
        this->ItemInfoPanel->Controls->Add(this->tabControl1);
        this->ItemInfoPanel->Enabled = false;
        this->ItemInfoPanel->Location = new System::Drawing::Point(174, 41);
        this->ItemInfoPanel->Name = "ItemInfoPanel";
        this->ItemInfoPanel->Size = new System::Drawing::Size(626, 423);
        this->ItemInfoPanel->TabIndex = 11;
        // 
        // tabControl1
        // 
        this->tabControl1->Controls->Add(this->tabPage1);
        this->tabControl1->Controls->Add(this->tabPage2);
        this->tabControl1->Controls->Add(this->tabPage3);
        this->tabControl1->Controls->Add(this->tabPage4);
        this->tabControl1->Location = new System::Drawing::Point(3, 3);
        this->tabControl1->Name = "tabControl1";
        this->tabControl1->SelectedIndex = 0;
        this->tabControl1->Size = new System::Drawing::Size(609, 416);
        this->tabControl1->TabIndex = 117;
        // 
        // tabPage1
        // 
        this->tabPage1->Controls->Add(this->label57);
        this->tabPage1->Controls->Add(this->SlotsTextBox);
        this->tabPage1->Controls->Add(this->globalDropNotify_CheckBox);
        this->tabPage1->Controls->Add(this->CanAwaken);
        this->tabPage1->Controls->Add(this->label56);
        this->tabPage1->Controls->Add(this->TooltipTextBox);
        this->tabPage1->Controls->Add(this->FastRunCheckBox);
        this->tabPage1->Controls->Add(this->label55);
        this->tabPage1->Controls->Add(this->IGradeComboBox);
        this->tabPage1->Controls->Add(this->RandomStatstextBox);
        this->tabPage1->Controls->Add(this->label54);
        this->tabPage1->Controls->Add(this->LightIntensitytextBox);
        this->tabPage1->Controls->Add(this->label53);
        this->tabPage1->Controls->Add(this->NeedIdentifycheckbox);
        this->tabPage1->Controls->Add(this->label1);
        this->tabPage1->Controls->Add(this->ItemIndexTextBox);
        this->tabPage1->Controls->Add(this->StartItemCheckBox);
        this->tabPage1->Controls->Add(this->ClassBasedcheckbox);
        this->tabPage1->Controls->Add(this->LevelBasedcheckbox);
        this->tabPage1->Controls->Add(this->ShowGroupPickupcheckbox);
        this->tabPage1->Controls->Add(this->label3);
        this->tabPage1->Controls->Add(this->ItemNameTextBox);
        this->tabPage1->Controls->Add(this->label2);
        this->tabPage1->Controls->Add(this->EffectTextBox);
        this->tabPage1->Controls->Add(this->ITypeComboBox);
        this->tabPage1->Controls->Add(this->label34);
        this->tabPage1->Controls->Add(this->label4);
        this->tabPage1->Controls->Add(this->PriceTextBox);
        this->tabPage1->Controls->Add(this->RTypeComboBox);
        this->tabPage1->Controls->Add(this->label12);
        this->tabPage1->Controls->Add(this->DuraTextBox);
        this->tabPage1->Controls->Add(this->label5);
        this->tabPage1->Controls->Add(this->label11);
        this->tabPage1->Controls->Add(this->RClassComboBox);
        this->tabPage1->Controls->Add(this->LightTextBox);
        this->tabPage1->Controls->Add(this->label6);
        this->tabPage1->Controls->Add(this->label9);
        this->tabPage1->Controls->Add(this->RAmountTextBox);
        this->tabPage1->Controls->Add(this->WeightTextBox);
        this->tabPage1->Controls->Add(this->label10);
        this->tabPage1->Controls->Add(this->label8);
        this->tabPage1->Controls->Add(this->ImageTextBox);
        this->tabPage1->Controls->Add(this->ShapeTextBox);
        this->tabPage1->Controls->Add(this->SSizeTextBox);
        this->tabPage1->Controls->Add(this->label7);
        this->tabPage1->Controls->Add(this->label13);
        this->tabPage1->Controls->Add(this->label33);
        this->tabPage1->Controls->Add(this->RGenderComboBox);
        this->tabPage1->Controls->Add(this->ISetComboBox);
        this->tabPage1->Controls->Add(this->label35);
        this->tabPage1->Location = new System::Drawing::Point(4, 22);
        this->tabPage1->Name = "tabPage1";
        this->tabPage1->Padding = new System::Windows::Forms::Padding(3);
        this->tabPage1->Size = new System::Drawing::Size(601, 390);
        this->tabPage1->TabIndex = 0;
        this->tabPage1->Text = "General";
        this->tabPage1->UseVisualStyleBackColor = true;
        // 
        // label57
        // 
        this->label57->AutoSize = true;
        this->label57->Location = new System::Drawing::Point(522, 102);
        this->label57->Name = "label57";
        this->label57->Size = new System::Drawing::Size(33, 13);
        this->label57->TabIndex = 126;
        this->label57->Text = "Slots:";
        // 
        // SlotsTextBox
        // 
        this->SlotsTextBox->Location = new System::Drawing::Point(561, 99);
        this->SlotsTextBox->Name = "SlotsTextBox";
        this->SlotsTextBox->Size = new System::Drawing::Size(30, 20);
        this->SlotsTextBox->TabIndex = 125;
        this->SlotsTextBox->TextChanged += new System::EventHandler(this->SlotsTextBox_TextChanged);
        // 
        // globalDropNotify_CheckBox
        // 
        this->globalDropNotify_CheckBox->AutoSize = true;
        this->globalDropNotify_CheckBox->Location = new System::Drawing::Point(468, 340);
        this->globalDropNotify_CheckBox->Name = "globalDropNotify_CheckBox";
        this->globalDropNotify_CheckBox->Size = new System::Drawing::Size(128, 17);
        this->globalDropNotify_CheckBox->TabIndex = 124;
        this->globalDropNotify_CheckBox->Text = "Notify Server on Drop";
        this->globalDropNotify_CheckBox->UseVisualStyleBackColor = true;
        this->globalDropNotify_CheckBox->CheckedChanged += new System::EventHandler(this->globalDropNotify_CheckBox_CheckedChanged);
        // 
        // CanAwaken
        // 
        this->CanAwaken->AutoSize = true;
        this->CanAwaken->Location = new System::Drawing::Point(468, 317);
        this->CanAwaken->Name = "CanAwaken";
        this->CanAwaken->Size = new System::Drawing::Size(87, 17);
        this->CanAwaken->TabIndex = 114;
        this->CanAwaken->Text = "Can Awaken";
        this->CanAwaken->UseVisualStyleBackColor = true;
        this->CanAwaken->CheckedChanged += new System::EventHandler(this->CanAwakening_CheckedChanged);
        // 
        // label56
        // 
        this->label56->AutoSize = true;
        this->label56->Location = new System::Drawing::Point(45, 233);
        this->label56->Name = "label56";
        this->label56->Size = new System::Drawing::Size(46, 13);
        this->label56->TabIndex = 123;
        this->label56->Text = "ToolTip:";
        // 
        // TooltipTextBox
        // 
        this->TooltipTextBox->Location = new System::Drawing::Point(98, 230);
        this->TooltipTextBox->Multiline = true;
        this->TooltipTextBox->Name = "TooltipTextBox";
        this->TooltipTextBox->Size = new System::Drawing::Size(226, 151);
        this->TooltipTextBox->TabIndex = 122;
        this->TooltipTextBox->TextChanged += new System::EventHandler(this->TooltipTextBox_TextChanged);
        // 
        // FastRunCheckBox
        // 
        this->FastRunCheckBox->AutoSize = true;
        this->FastRunCheckBox->Location = new System::Drawing::Point(468, 294);
        this->FastRunCheckBox->Name = "FastRunCheckBox";
        this->FastRunCheckBox->Size = new System::Drawing::Size(69, 17);
        this->FastRunCheckBox->TabIndex = 121;
        this->FastRunCheckBox->Text = "Fast Run";
        this->FastRunCheckBox->UseVisualStyleBackColor = true;
        this->FastRunCheckBox->CheckedChanged += new System::EventHandler(this->FastRunCheckBox_CheckedChanged);
        // 
        // label55
        // 
        this->label55->AutoSize = true;
        this->label55->Location = new System::Drawing::Point(28, 98);
        this->label55->Name = "label55";
        this->label55->Size = new System::Drawing::Size(62, 13);
        this->label55->TabIndex = 120;
        this->label55->Text = "Item Grade:";
        // 
        // IGradeComboBox
        // 
        this->IGradeComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
        this->IGradeComboBox->FormattingEnabled = true;
        this->IGradeComboBox->Location = new System::Drawing::Point(98, 94);
        this->IGradeComboBox->Name = "IGradeComboBox";
        this->IGradeComboBox->Size = new System::Drawing::Size(92, 21);
        this->IGradeComboBox->TabIndex = 119;
        this->IGradeComboBox->SelectedIndexChanged += new System::EventHandler(this->IGradeComboBox_SelectedIndexChanged);
        // 
        // RandomStatstextBox
        // 
        this->RandomStatstextBox->Location = new System::Drawing::Point(365, 16);
        this->RandomStatstextBox->MaxLength = 3;
        this->RandomStatstextBox->Name = "RandomStatstextBox";
        this->RandomStatstextBox->Size = new System::Drawing::Size(30, 20);
        this->RandomStatstextBox->TabIndex = 115;
        this->RandomStatstextBox->TextChanged += new System::EventHandler(this->RandomStatstextBox_TextChanged);
        // 
        // label54
        // 
        this->label54->AutoSize = true;
        this->label54->Location = new System::Drawing::Point(282, 20);
        this->label54->Name = "label54";
        this->label54->Size = new System::Drawing::Size(77, 13);
        this->label54->TabIndex = 114;
        this->label54->Text = "Random Stats:";
        // 
        // LightIntensitytextBox
        // 
        this->LightIntensitytextBox->Location = new System::Drawing::Point(468, 151);
        this->LightIntensitytextBox->MaxLength = 3;
        this->LightIntensitytextBox->Name = "LightIntensitytextBox";
        this->LightIntensitytextBox->Size = new System::Drawing::Size(30, 20);
        this->LightIntensitytextBox->TabIndex = 112;
        this->LightIntensitytextBox->TextChanged += new System::EventHandler(this->LightIntensitytextBox_TextChanged);
        // 
        // label53
        // 
        this->label53->AutoSize = true;
        this->label53->Location = new System::Drawing::Point(421, 153);
        this->label53->Name = "label53";
        this->label53->Size = new System::Drawing::Size(49, 13);
        this->label53->TabIndex = 113;
        this->label53->Text = "Intensity:";
        // 
        // NeedIdentifycheckbox
        // 
        this->NeedIdentifycheckbox->AutoSize = true;
        this->NeedIdentifycheckbox->Location = new System::Drawing::Point(468, 246);
        this->NeedIdentifycheckbox->Name = "NeedIdentifycheckbox";
        this->NeedIdentifycheckbox->Size = new System::Drawing::Size(89, 17);
        this->NeedIdentifycheckbox->TabIndex = 110;
        this->NeedIdentifycheckbox->Text = "Mystery Stats";
        this->NeedIdentifycheckbox->UseVisualStyleBackColor = true;
        this->NeedIdentifycheckbox->CheckedChanged += new System::EventHandler(this->NeedIdentifycheckbox_CheckedChanged);
        // 
        // label1
        // 
        this->label1->AutoSize = true;
        this->label1->Location = new System::Drawing::Point(31, 13);
        this->label1->Name = "label1";
        this->label1->Size = new System::Drawing::Size(59, 13);
        this->label1->TabIndex = 4;
        this->label1->Text = "Item Index:";
        // 
        // ItemIndexTextBox
        // 
        this->ItemIndexTextBox->Location = new System::Drawing::Point(98, 10);
        this->ItemIndexTextBox->Name = "ItemIndexTextBox";
        this->ItemIndexTextBox->ReadOnly = true;
        this->ItemIndexTextBox->Size = new System::Drawing::Size(47, 20);
        this->ItemIndexTextBox->TabIndex = 0;
        // 
        // StartItemCheckBox
        // 
        this->StartItemCheckBox->AutoSize = true;
        this->StartItemCheckBox->Location = new System::Drawing::Point(365, 246);
        this->StartItemCheckBox->Name = "StartItemCheckBox";
        this->StartItemCheckBox->Size = new System::Drawing::Size(85, 17);
        this->StartItemCheckBox->TabIndex = 63;
        this->StartItemCheckBox->Text = "Starting Item";
        this->StartItemCheckBox->UseVisualStyleBackColor = true;
        this->StartItemCheckBox->CheckedChanged += new System::EventHandler(this->StartItemCheckBox_CheckedChanged);
        // 
        // ClassBasedcheckbox
        // 
        this->ClassBasedcheckbox->AutoSize = true;
        this->ClassBasedcheckbox->Location = new System::Drawing::Point(365, 270);
        this->ClassBasedcheckbox->Name = "ClassBasedcheckbox";
        this->ClassBasedcheckbox->Size = new System::Drawing::Size(81, 17);
        this->ClassBasedcheckbox->TabIndex = 100;
        this->ClassBasedcheckbox->Text = "ClassBased";
        this->ClassBasedcheckbox->UseVisualStyleBackColor = true;
        this->ClassBasedcheckbox->CheckedChanged += new System::EventHandler(this->ClassBasedcheckbox_CheckedChanged);
        // 
        // LevelBasedcheckbox
        // 
        this->LevelBasedcheckbox->AutoSize = true;
        this->LevelBasedcheckbox->Location = new System::Drawing::Point(365, 294);
        this->LevelBasedcheckbox->Name = "LevelBasedcheckbox";
        this->LevelBasedcheckbox->Size = new System::Drawing::Size(82, 17);
        this->LevelBasedcheckbox->TabIndex = 101;
        this->LevelBasedcheckbox->Text = "LevelBased";
        this->LevelBasedcheckbox->UseVisualStyleBackColor = true;
        this->LevelBasedcheckbox->CheckedChanged += new System::EventHandler(this->LevelBasedcheckbox_CheckedChanged);
        // 
        // ShowGroupPickupcheckbox
        // 
        this->ShowGroupPickupcheckbox->AutoSize = true;
        this->ShowGroupPickupcheckbox->Location = new System::Drawing::Point(468, 270);
        this->ShowGroupPickupcheckbox->Name = "ShowGroupPickupcheckbox";
        this->ShowGroupPickupcheckbox->Size = new System::Drawing::Size(121, 17);
        this->ShowGroupPickupcheckbox->TabIndex = 111;
        this->ShowGroupPickupcheckbox->Text = "Show Group Pickup";
        this->ShowGroupPickupcheckbox->UseVisualStyleBackColor = true;
        this->ShowGroupPickupcheckbox->CheckedChanged += new System::EventHandler(this->ShowGroupPickupcheckbox_CheckedChanged);
        // 
        // label3
        // 
        this->label3->AutoSize = true;
        this->label3->Location = new System::Drawing::Point(28, 41);
        this->label3->Name = "label3";
        this->label3->Size = new System::Drawing::Size(61, 13);
        this->label3->TabIndex = 8;
        this->label3->Text = "Item Name:";
        // 
        // ItemNameTextBox
        // 
        this->ItemNameTextBox->Location = new System::Drawing::Point(98, 38);
        this->ItemNameTextBox->Name = "ItemNameTextBox";
        this->ItemNameTextBox->Size = new System::Drawing::Size(115, 20);
        this->ItemNameTextBox->TabIndex = 1;
        this->ItemNameTextBox->TextChanged += new System::EventHandler(this->ItemNameTextBox_TextChanged);
        // 
        // label2
        // 
        this->label2->AutoSize = true;
        this->label2->Location = new System::Drawing::Point(33, 70);
        this->label2->Name = "label2";
        this->label2->Size = new System::Drawing::Size(57, 13);
        this->label2->TabIndex = 10;
        this->label2->Text = "Item Type:";
        // 
        // EffectTextBox
        // 
        this->EffectTextBox->Location = new System::Drawing::Point(561, 70);
        this->EffectTextBox->Name = "EffectTextBox";
        this->EffectTextBox->Size = new System::Drawing::Size(30, 20);
        this->EffectTextBox->TabIndex = 73;
        this->EffectTextBox->TextChanged += new System::EventHandler(this->EffectTextBox_TextChanged);
        // 
        // ITypeComboBox
        // 
        this->ITypeComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
        this->ITypeComboBox->FormattingEnabled = true;
        this->ITypeComboBox->Location = new System::Drawing::Point(98, 67);
        this->ITypeComboBox->Name = "ITypeComboBox";
        this->ITypeComboBox->Size = new System::Drawing::Size(92, 21);
        this->ITypeComboBox->TabIndex = 5;
        this->ITypeComboBox->SelectedIndexChanged += new System::EventHandler(this->ITypeComboBox_SelectedIndexChanged);
        // 
        // label34
        // 
        this->label34->AutoSize = true;
        this->label34->Location = new System::Drawing::Point(517, 73);
        this->label34->Name = "label34";
        this->label34->Size = new System::Drawing::Size(38, 13);
        this->label34->TabIndex = 72;
        this->label34->Text = "Effect:";
        // 
        // label4
        // 
        this->label4->AutoSize = true;
        this->label4->Location = new System::Drawing::Point(10, 124);
        this->label4->Name = "label4";
        this->label4->Size = new System::Drawing::Size(80, 13);
        this->label4->TabIndex = 12;
        this->label4->Text = "Required Type:";
        // 
        // PriceTextBox
        // 
        this->PriceTextBox->Location = new System::Drawing::Point(365, 199);
        this->PriceTextBox->MaxLength = 10;
        this->PriceTextBox->Name = "PriceTextBox";
        this->PriceTextBox->Size = new System::Drawing::Size(69, 20);
        this->PriceTextBox->TabIndex = 8;
        this->PriceTextBox->TextChanged += new System::EventHandler(this->PriceTextBox_TextChanged);
        // 
        // RTypeComboBox
        // 
        this->RTypeComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
        this->RTypeComboBox->FormattingEnabled = true;
        this->RTypeComboBox->Location = new System::Drawing::Point(98, 120);
        this->RTypeComboBox->Name = "RTypeComboBox";
        this->RTypeComboBox->Size = new System::Drawing::Size(92, 21);
        this->RTypeComboBox->TabIndex = 9;
        this->RTypeComboBox->SelectedIndexChanged += new System::EventHandler(this->RTypeComboBox_SelectedIndexChanged);
        // 
        // label12
        // 
        this->label12->AutoSize = true;
        this->label12->Location = new System::Drawing::Point(325, 203);
        this->label12->Name = "label12";
        this->label12->Size = new System::Drawing::Size(34, 13);
        this->label12->TabIndex = 28;
        this->label12->Text = "Price:";
        // 
        // DuraTextBox
        // 
        this->DuraTextBox->Location = new System::Drawing::Point(365, 173);
        this->DuraTextBox->MaxLength = 5;
        this->DuraTextBox->Name = "DuraTextBox";
        this->DuraTextBox->Size = new System::Drawing::Size(40, 20);
        this->DuraTextBox->TabIndex = 4;
        this->DuraTextBox->TextChanged += new System::EventHandler(this->DuraTextBox_TextChanged);
        // 
        // label5
        // 
        this->label5->AutoSize = true;
        this->label5->Location = new System::Drawing::Point(7, 177);
        this->label5->Name = "label5";
        this->label5->Size = new System::Drawing::Size(81, 13);
        this->label5->TabIndex = 14;
        this->label5->Text = "Required Class:";
        // 
        // label11
        // 
        this->label11->AutoSize = true;
        this->label11->Location = new System::Drawing::Point(305, 177);
        this->label11->Name = "label11";
        this->label11->Size = new System::Drawing::Size(53, 13);
        this->label11->TabIndex = 24;
        this->label11->Text = "Durability:";
        // 
        // RClassComboBox
        // 
        this->RClassComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
        this->RClassComboBox->FormattingEnabled = true;
        this->RClassComboBox->Location = new System::Drawing::Point(98, 174);
        this->RClassComboBox->Name = "RClassComboBox";
        this->RClassComboBox->Size = new System::Drawing::Size(92, 21);
        this->RClassComboBox->TabIndex = 11;
        this->RClassComboBox->SelectedIndexChanged += new System::EventHandler(this->RClassComboBox_SelectedIndexChanged);
        // 
        // LightTextBox
        // 
        this->LightTextBox->Location = new System::Drawing::Point(365, 147);
        this->LightTextBox->MaxLength = 3;
        this->LightTextBox->Name = "LightTextBox";
        this->LightTextBox->Size = new System::Drawing::Size(30, 20);
        this->LightTextBox->TabIndex = 12;
        this->LightTextBox->TextChanged += new System::EventHandler(this->LightTextBox_TextChanged);
        // 
        // label6
        // 
        this->label6->AutoSize = true;
        this->label6->Location = new System::Drawing::Point(267, 47);
        this->label6->Name = "label6";
        this->label6->Size = new System::Drawing::Size(92, 13);
        this->label6->TabIndex = 16;
        this->label6->Text = "Required Amount:";
        // 
        // label9
        // 
        this->label9->AutoSize = true;
        this->label9->Location = new System::Drawing::Point(292, 151);
        this->label9->Name = "label9";
        this->label9->Size = new System::Drawing::Size(68, 13);
        this->label9->TabIndex = 22;
        this->label9->Text = "Light Range:";
        // 
        // RAmountTextBox
        // 
        this->RAmountTextBox->Location = new System::Drawing::Point(365, 43);
        this->RAmountTextBox->MaxLength = 3;
        this->RAmountTextBox->Name = "RAmountTextBox";
        this->RAmountTextBox->Size = new System::Drawing::Size(30, 20);
        this->RAmountTextBox->TabIndex = 10;
        this->RAmountTextBox->TextChanged += new System::EventHandler(this->RAmountTextBox_TextChanged);
        // 
        // WeightTextBox
        // 
        this->WeightTextBox->Location = new System::Drawing::Point(365, 121);
        this->WeightTextBox->MaxLength = 3;
        this->WeightTextBox->Name = "WeightTextBox";
        this->WeightTextBox->Size = new System::Drawing::Size(30, 20);
        this->WeightTextBox->TabIndex = 2;
        this->WeightTextBox->TextChanged += new System::EventHandler(this->WeightTextBox_TextChanged);
        // 
        // label10
        // 
        this->label10->AutoSize = true;
        this->label10->Location = new System::Drawing::Point(320, 70);
        this->label10->Name = "label10";
        this->label10->Size = new System::Drawing::Size(39, 13);
        this->label10->TabIndex = 26;
        this->label10->Text = "Image:";
        // 
        // label8
        // 
        this->label8->AutoSize = true;
        this->label8->Location = new System::Drawing::Point(318, 125);
        this->label8->Name = "label8";
        this->label8->Size = new System::Drawing::Size(44, 13);
        this->label8->TabIndex = 20;
        this->label8->Text = "Weight:";
        // 
        // ImageTextBox
        // 
        this->ImageTextBox->Location = new System::Drawing::Point(365, 69);
        this->ImageTextBox->MaxLength = 5;
        this->ImageTextBox->Name = "ImageTextBox";
        this->ImageTextBox->Size = new System::Drawing::Size(40, 20);
        this->ImageTextBox->TabIndex = 3;
        this->ImageTextBox->TextChanged += new System::EventHandler(this->ImageTextBox_TextChanged);
        // 
        // ShapeTextBox
        // 
        this->ShapeTextBox->Location = new System::Drawing::Point(468, 70);
        this->ShapeTextBox->MaxLength = 3;
        this->ShapeTextBox->Name = "ShapeTextBox";
        this->ShapeTextBox->Size = new System::Drawing::Size(30, 20);
        this->ShapeTextBox->TabIndex = 6;
        this->ShapeTextBox->TextChanged += new System::EventHandler(this->ShapeTextBox_TextChanged);
        // 
        // SSizeTextBox
        // 
        this->SSizeTextBox->Location = new System::Drawing::Point(365, 95);
        this->SSizeTextBox->MaxLength = 10;
        this->SSizeTextBox->Name = "SSizeTextBox";
        this->SSizeTextBox->Size = new System::Drawing::Size(69, 20);
        this->SSizeTextBox->TabIndex = 7;
        this->SSizeTextBox->TextChanged += new System::EventHandler(this->SSizeTextBox_TextChanged);
        // 
        // label7
        // 
        this->label7->AutoSize = true;
        this->label7->Location = new System::Drawing::Point(421, 73);
        this->label7->Name = "label7";
        this->label7->Size = new System::Drawing::Size(41, 13);
        this->label7->TabIndex = 18;
        this->label7->Text = "Shape:";
        // 
        // label13
        // 
        this->label13->AutoSize = true;
        this->label13->Location = new System::Drawing::Point(298, 99);
        this->label13->Name = "label13";
        this->label13->Size = new System::Drawing::Size(61, 13);
        this->label13->TabIndex = 30;
        this->label13->Text = "Stack Size:";
        // 
        // label33
        // 
        this->label33->AutoSize = true;
        this->label33->Location = new System::Drawing::Point(0, 150);
        this->label33->Name = "label33";
        this->label33->Size = new System::Drawing::Size(91, 13);
        this->label33->TabIndex = 71;
        this->label33->Text = "Required Gender:";
        // 
        // RGenderComboBox
        // 
        this->RGenderComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
        this->RGenderComboBox->FormattingEnabled = true;
        this->RGenderComboBox->Location = new System::Drawing::Point(98, 147);
        this->RGenderComboBox->Name = "RGenderComboBox";
        this->RGenderComboBox->Size = new System::Drawing::Size(92, 21);
        this->RGenderComboBox->TabIndex = 70;
        this->RGenderComboBox->SelectedIndexChanged += new System::EventHandler(this->RGenderComboBox_SelectedIndexChanged);
        // 
        // ISetComboBox
        // 
        this->ISetComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
        this->ISetComboBox->FormattingEnabled = true;
        this->ISetComboBox->Location = new System::Drawing::Point(98, 202);
        this->ISetComboBox->Name = "ISetComboBox";
        this->ISetComboBox->Size = new System::Drawing::Size(92, 21);
        this->ISetComboBox->TabIndex = 74;
        this->ISetComboBox->SelectedIndexChanged += new System::EventHandler(this->ISetComboBox_SelectedIndexChanged);
        // 
        // label35
        // 
        this->label35->AutoSize = true;
        this->label35->Location = new System::Drawing::Point(42, 205);
        this->label35->Name = "label35";
        this->label35->Size = new System::Drawing::Size(49, 13);
        this->label35->TabIndex = 75;
        this->label35->Text = "Item Set:";
        // 
        // tabPage2
        // 
        this->tabPage2->Controls->Add(this->groupBox1);
        this->tabPage2->Controls->Add(this->label37);
        this->tabPage2->Controls->Add(this->label14);
        this->tabPage2->Controls->Add(this->MinACTextBox);
        this->tabPage2->Controls->Add(this->MPratetextbox);
        this->tabPage2->Controls->Add(this->label15);
        this->tabPage2->Controls->Add(this->label48);
        this->tabPage2->Controls->Add(this->MaxACTextBox);
        this->tabPage2->Controls->Add(this->label17);
        this->tabPage2->Controls->Add(this->MinMACTextBox);
        this->tabPage2->Controls->Add(this->label16);
        this->tabPage2->Controls->Add(this->MaxMACTextBox);
        this->tabPage2->Controls->Add(this->label21);
        this->tabPage2->Controls->Add(this->MinDCTextBox);
        this->tabPage2->Controls->Add(this->label20);
        this->tabPage2->Controls->Add(this->MaxDCTextBox);
        this->tabPage2->Controls->Add(this->label19);
        this->tabPage2->Controls->Add(this->PoisonAttacktextbox);
        this->tabPage2->Controls->Add(this->MinMCTextBox);
        this->tabPage2->Controls->Add(this->label47);
        this->tabPage2->Controls->Add(this->label18);
        this->tabPage2->Controls->Add(this->Freezingtextbox);
        this->tabPage2->Controls->Add(this->MaxMCTextBox);
        this->tabPage2->Controls->Add(this->label46);
        this->tabPage2->Controls->Add(this->label23);
        this->tabPage2->Controls->Add(this->Holytextbox);
        this->tabPage2->Controls->Add(this->MinSCTextBox);
        this->tabPage2->Controls->Add(this->label45);
        this->tabPage2->Controls->Add(this->label22);
        this->tabPage2->Controls->Add(this->HPratetextbox);
        this->tabPage2->Controls->Add(this->MaxSCTextBox);
        this->tabPage2->Controls->Add(this->label44);
        this->tabPage2->Controls->Add(this->label25);
        this->tabPage2->Controls->Add(this->PoisonRecoverytextBox);
        this->tabPage2->Controls->Add(this->HPTextBox);
        this->tabPage2->Controls->Add(this->label43);
        this->tabPage2->Controls->Add(this->label24);
        this->tabPage2->Controls->Add(this->SpellRecoverytextBox);
        this->tabPage2->Controls->Add(this->MPTextBox);
        this->tabPage2->Controls->Add(this->label42);
        this->tabPage2->Controls->Add(this->label27);
        this->tabPage2->Controls->Add(this->PoisonResisttextBox);
        this->tabPage2->Controls->Add(this->AccuracyTextBox);
        this->tabPage2->Controls->Add(this->label41);
        this->tabPage2->Controls->Add(this->label26);
        this->tabPage2->Controls->Add(this->MagicResisttextBox);
        this->tabPage2->Controls->Add(this->AgilityTextBox);
        this->tabPage2->Controls->Add(this->label40);
        this->tabPage2->Controls->Add(this->label29);
        this->tabPage2->Controls->Add(this->HealthRecoveryTextbox);
        this->tabPage2->Controls->Add(this->ASpeedTextBox);
        this->tabPage2->Controls->Add(this->label39);
        this->tabPage2->Controls->Add(this->label28);
        this->tabPage2->Controls->Add(this->StrongTextbox);
        this->tabPage2->Controls->Add(this->LuckTextBox);
        this->tabPage2->Controls->Add(this->label38);
        this->tabPage2->Controls->Add(this->label31);
        this->tabPage2->Controls->Add(this->MacRateTextbox);
        this->tabPage2->Controls->Add(this->BWeightText);
        this->tabPage2->Controls->Add(this->label30);
        this->tabPage2->Controls->Add(this->ACRateTextbox);
        this->tabPage2->Controls->Add(this->HWeightTextBox);
        this->tabPage2->Controls->Add(this->label36);
        this->tabPage2->Controls->Add(this->label32);
        this->tabPage2->Controls->Add(this->WWeightTextBox);
        this->tabPage2->Location = new System::Drawing::Point(4, 22);
        this->tabPage2->Name = "tabPage2";
        this->tabPage2->Padding = new System::Windows::Forms::Padding(3);
        this->tabPage2->Size = new System::Drawing::Size(601, 390);
        this->tabPage2->TabIndex = 1;
        this->tabPage2->Text = "Basic Stats";
        this->tabPage2->UseVisualStyleBackColor = true;
        // 
        // groupBox1
        // 
        this->groupBox1->Controls->Add(this->label50);
        this->groupBox1->Controls->Add(this->label52);
        this->groupBox1->Controls->Add(this->label49);
        this->groupBox1->Controls->Add(this->ReflecttextBox);
        this->groupBox1->Controls->Add(this->HpDrainRatetextBox);
        this->groupBox1->Controls->Add(this->CriticalDamagetextBox);
        this->groupBox1->Controls->Add(this->CriticalRatetextBox);
        this->groupBox1->Controls->Add(this->label51);
        this->groupBox1->Location = new System::Drawing::Point(16, 277);
        this->groupBox1->Name = "groupBox1";
        this->groupBox1->Size = new System::Drawing::Size(304, 94);
        this->groupBox1->TabIndex = 123;
        this->groupBox1->TabStop = false;
        this->groupBox1->Text = "New Stats";
        // 
        // label50
        // 
        this->label50->AutoSize = true;
        this->label50->Location = new System::Drawing::Point(8, 39);
        this->label50->Name = "label50";
        this->label50->Size = new System::Drawing::Size(62, 13);
        this->label50->TabIndex = 119;
        this->label50->Text = "Critical rate:";
        // 
        // label52
        // 
        this->label52->AutoSize = true;
        this->label52->Location = new System::Drawing::Point(8, 65);
        this->label52->Name = "label52";
        this->label52->Size = new System::Drawing::Size(44, 13);
        this->label52->TabIndex = 122;
        this->label52->Text = "Reflect:";
        // 
        // label49
        // 
        this->label49->AutoSize = true;
        this->label49->Location = new System::Drawing::Point(173, 65);
        this->label49->Name = "label49";
        this->label49->Size = new System::Drawing::Size(53, 13);
        this->label49->TabIndex = 115;
        this->label49->Text = "HP Drain:";
        // 
        // ReflecttextBox
        // 
        this->ReflecttextBox->Location = new System::Drawing::Point(76, 62);
        this->ReflecttextBox->MaxLength = 3;
        this->ReflecttextBox->Name = "ReflecttextBox";
        this->ReflecttextBox->Size = new System::Drawing::Size(30, 20);
        this->ReflecttextBox->TabIndex = 121;
        this->ReflecttextBox->TextChanged += new System::EventHandler(this->ReflecttextBox_TextChanged);
        // 
        // HpDrainRatetextBox
        // 
        this->HpDrainRatetextBox->Location = new System::Drawing::Point(260, 62);
        this->HpDrainRatetextBox->MaxLength = 3;
        this->HpDrainRatetextBox->Name = "HpDrainRatetextBox";
        this->HpDrainRatetextBox->Size = new System::Drawing::Size(30, 20);
        this->HpDrainRatetextBox->TabIndex = 116;
        this->HpDrainRatetextBox->TextChanged += new System::EventHandler(this->HpDrainRatetextBox_TextChanged);
        // 
        // CriticalDamagetextBox
        // 
        this->CriticalDamagetextBox->Location = new System::Drawing::Point(260, 36);
        this->CriticalDamagetextBox->MaxLength = 3;
        this->CriticalDamagetextBox->Name = "CriticalDamagetextBox";
        this->CriticalDamagetextBox->Size = new System::Drawing::Size(30, 20);
        this->CriticalDamagetextBox->TabIndex = 118;
        this->CriticalDamagetextBox->TextChanged += new System::EventHandler(this->CriticalDamagetextBox_TextChanged);
        // 
        // CriticalRatetextBox
        // 
        this->CriticalRatetextBox->Location = new System::Drawing::Point(76, 36);
        this->CriticalRatetextBox->MaxLength = 3;
        this->CriticalRatetextBox->Name = "CriticalRatetextBox";
        this->CriticalRatetextBox->Size = new System::Drawing::Size(30, 20);
        this->CriticalRatetextBox->TabIndex = 117;
        this->CriticalRatetextBox->TextChanged += new System::EventHandler(this->CriticalRatetextBox_TextChanged);
        // 
        // label51
        // 
        this->label51->AutoSize = true;
        this->label51->Location = new System::Drawing::Point(173, 39);
        this->label51->Name = "label51";
        this->label51->Size = new System::Drawing::Size(66, 13);
        this->label51->TabIndex = 120;
        this->label51->Text = "Critical Dmg:";
        // 
        // label37
        // 
        this->label37->AutoSize = true;
        this->label37->Location = new System::Drawing::Point(488, 14);
        this->label37->Name = "label37";
        this->label37->Size = new System::Drawing::Size(57, 13);
        this->label37->TabIndex = 78;
        this->label37->Text = "Mac Rate:";
        // 
        // label14
        // 
        this->label14->AutoSize = true;
        this->label14->Location = new System::Drawing::Point(27, 18);
        this->label14->Name = "label14";
        this->label14->Size = new System::Drawing::Size(44, 13);
        this->label14->TabIndex = 32;
        this->label14->Text = "Min AC:";
        // 
        // MinACTextBox
        // 
        this->MinACTextBox->Location = new System::Drawing::Point(77, 15);
        this->MinACTextBox->MaxLength = 3;
        this->MinACTextBox->Name = "MinACTextBox";
        this->MinACTextBox->Size = new System::Drawing::Size(30, 20);
        this->MinACTextBox->TabIndex = 13;
        this->MinACTextBox->TextChanged += new System::EventHandler(this->MinACTextBox_TextChanged);
        // 
        // MPratetextbox
        // 
        this->MPratetextbox->Location = new System::Drawing::Point(359, 67);
        this->MPratetextbox->MaxLength = 3;
        this->MPratetextbox->Name = "MPratetextbox";
        this->MPratetextbox->Size = new System::Drawing::Size(30, 20);
        this->MPratetextbox->TabIndex = 114;
        this->MPratetextbox->TextChanged += new System::EventHandler(this->MPratetextBox_TextChanged);
        // 
        // label15
        // 
        this->label15->AutoSize = true;
        this->label15->Location = new System::Drawing::Point(113, 18);
        this->label15->Name = "label15";
        this->label15->Size = new System::Drawing::Size(47, 13);
        this->label15->TabIndex = 34;
        this->label15->Text = "Max AC:";
        // 
        // label48
        // 
        this->label48->AutoSize = true;
        this->label48->Location = new System::Drawing::Point(314, 70);
        this->label48->Name = "label48";
        this->label48->Size = new System::Drawing::Size(39, 13);
        this->label48->TabIndex = 113;
        this->label48->Text = "Mp +%";
        // 
        // MaxACTextBox
        // 
        this->MaxACTextBox->Location = new System::Drawing::Point(166, 15);
        this->MaxACTextBox->MaxLength = 3;
        this->MaxACTextBox->Name = "MaxACTextBox";
        this->MaxACTextBox->Size = new System::Drawing::Size(30, 20);
        this->MaxACTextBox->TabIndex = 14;
        this->MaxACTextBox->TextChanged += new System::EventHandler(this->MaxACTextBox_TextChanged);
        // 
        // label17
        // 
        this->label17->AutoSize = true;
        this->label17->Location = new System::Drawing::Point(202, 18);
        this->label17->Name = "label17";
        this->label17->Size = new System::Drawing::Size(53, 13);
        this->label17->TabIndex = 14;
        this->label17->Text = "Min MAC:";
        // 
        // MinMACTextBox
        // 
        this->MinMACTextBox->Location = new System::Drawing::Point(261, 15);
        this->MinMACTextBox->MaxLength = 3;
        this->MinMACTextBox->Name = "MinMACTextBox";
        this->MinMACTextBox->Size = new System::Drawing::Size(30, 20);
        this->MinMACTextBox->TabIndex = 15;
        this->MinMACTextBox->TextChanged += new System::EventHandler(this->MinMACTextBox_TextChanged);
        // 
        // label16
        // 
        this->label16->AutoSize = true;
        this->label16->Location = new System::Drawing::Point(297, 18);
        this->label16->Name = "label16";
        this->label16->Size = new System::Drawing::Size(56, 13);
        this->label16->TabIndex = 38;
        this->label16->Text = "Max MAC:";
        // 
        // MaxMACTextBox
        // 
        this->MaxMACTextBox->Location = new System::Drawing::Point(359, 15);
        this->MaxMACTextBox->MaxLength = 3;
        this->MaxMACTextBox->Name = "MaxMACTextBox";
        this->MaxMACTextBox->Size = new System::Drawing::Size(30, 20);
        this->MaxMACTextBox->TabIndex = 16;
        this->MaxMACTextBox->TextChanged += new System::EventHandler(this->MaxMACTextBox_TextChanged);
        // 
        // label21
        // 
        this->label21->AutoSize = true;
        this->label21->Location = new System::Drawing::Point(26, 48);
        this->label21->Name = "label21";
        this->label21->Size = new System::Drawing::Size(45, 13);
        this->label21->TabIndex = 40;
        this->label21->Text = "Min DC:";
        // 
        // MinDCTextBox
        // 
        this->MinDCTextBox->Location = new System::Drawing::Point(77, 41);
        this->MinDCTextBox->MaxLength = 3;
        this->MinDCTextBox->Name = "MinDCTextBox";
        this->MinDCTextBox->Size = new System::Drawing::Size(30, 20);
        this->MinDCTextBox->TabIndex = 17;
        this->MinDCTextBox->TextChanged += new System::EventHandler(this->MinDCTextBox_TextChanged);
        // 
        // label20
        // 
        this->label20->AutoSize = true;
        this->label20->Location = new System::Drawing::Point(113, 44);
        this->label20->Name = "label20";
        this->label20->Size = new System::Drawing::Size(48, 13);
        this->label20->TabIndex = 42;
        this->label20->Text = "Max DC:";
        // 
        // MaxDCTextBox
        // 
        this->MaxDCTextBox->Location = new System::Drawing::Point(166, 41);
        this->MaxDCTextBox->MaxLength = 3;
        this->MaxDCTextBox->Name = "MaxDCTextBox";
        this->MaxDCTextBox->Size = new System::Drawing::Size(30, 20);
        this->MaxDCTextBox->TabIndex = 18;
        this->MaxDCTextBox->TextChanged += new System::EventHandler(this->MaxDCTextBox_TextChanged);
        // 
        // label19
        // 
        this->label19->AutoSize = true;
        this->label19->Location = new System::Drawing::Point(209, 44);
        this->label19->Name = "label19";
        this->label19->Size = new System::Drawing::Size(46, 13);
        this->label19->TabIndex = 44;
        this->label19->Text = "Min MC:";
        // 
        // PoisonAttacktextbox
        // 
        this->PoisonAttacktextbox->Location = new System::Drawing::Point(166, 173);
        this->PoisonAttacktextbox->MaxLength = 3;
        this->PoisonAttacktextbox->Name = "PoisonAttacktextbox";
        this->PoisonAttacktextbox->Size = new System::Drawing::Size(30, 20);
        this->PoisonAttacktextbox->TabIndex = 99;
        this->PoisonAttacktextbox->TextChanged += new System::EventHandler(this->PoisonAttacktextbox_TextChanged);
        // 
        // MinMCTextBox
        // 
        this->MinMCTextBox->Location = new System::Drawing::Point(261, 41);
        this->MinMCTextBox->MaxLength = 3;
        this->MinMCTextBox->Name = "MinMCTextBox";
        this->MinMCTextBox->Size = new System::Drawing::Size(30, 20);
        this->MinMCTextBox->TabIndex = 19;
        this->MinMCTextBox->TextChanged += new System::EventHandler(this->MinMCTextBox_TextChanged);
        // 
        // label47
        // 
        this->label47->AutoSize = true;
        this->label47->Location = new System::Drawing::Point(84, 176);
        this->label47->Name = "label47";
        this->label47->Size = new System::Drawing::Size(76, 13);
        this->label47->TabIndex = 98;
        this->label47->Text = "Poison Attack:";
        // 
        // label18
        // 
        this->label18->AutoSize = true;
        this->label18->Location = new System::Drawing::Point(304, 44);
        this->label18->Name = "label18";
        this->label18->Size = new System::Drawing::Size(49, 13);
        this->label18->TabIndex = 46;
        this->label18->Text = "Max MC:";
        // 
        // Freezingtextbox
        // 
        this->Freezingtextbox->Location = new System::Drawing::Point(166, 211);
        this->Freezingtextbox->MaxLength = 3;
        this->Freezingtextbox->Name = "Freezingtextbox";
        this->Freezingtextbox->Size = new System::Drawing::Size(30, 20);
        this->Freezingtextbox->TabIndex = 97;
        this->Freezingtextbox->TextChanged += new System::EventHandler(this->Freezingtextbox_TextChanged);
        // 
        // MaxMCTextBox
        // 
        this->MaxMCTextBox->Location = new System::Drawing::Point(359, 41);
        this->MaxMCTextBox->MaxLength = 3;
        this->MaxMCTextBox->Name = "MaxMCTextBox";
        this->MaxMCTextBox->Size = new System::Drawing::Size(30, 20);
        this->MaxMCTextBox->TabIndex = 20;
        this->MaxMCTextBox->TextChanged += new System::EventHandler(this->MaxMCTextBox_TextChanged);
        // 
        // label46
        // 
        this->label46->AutoSize = true;
        this->label46->Location = new System::Drawing::Point(110, 215);
        this->label46->Name = "label46";
        this->label46->Size = new System::Drawing::Size(50, 13);
        this->label46->TabIndex = 96;
        this->label46->Text = "Freezing:";
        // 
        // label23
        // 
        this->label23->AutoSize = true;
        this->label23->Location = new System::Drawing::Point(401, 46);
        this->label23->Name = "label23";
        this->label23->Size = new System::Drawing::Size(44, 13);
        this->label23->TabIndex = 48;
        this->label23->Text = "Min SC:";
        // 
        // Holytextbox
        // 
        this->Holytextbox->Location = new System::Drawing::Point(166, 234);
        this->Holytextbox->MaxLength = 3;
        this->Holytextbox->Name = "Holytextbox";
        this->Holytextbox->Size = new System::Drawing::Size(30, 20);
        this->Holytextbox->TabIndex = 95;
        this->Holytextbox->TextChanged += new System::EventHandler(this->Holytextbox_TextChanged);
        // 
        // MinSCTextBox
        // 
        this->MinSCTextBox->Location = new System::Drawing::Point(453, 43);
        this->MinSCTextBox->MaxLength = 3;
        this->MinSCTextBox->Name = "MinSCTextBox";
        this->MinSCTextBox->Size = new System::Drawing::Size(30, 20);
        this->MinSCTextBox->TabIndex = 21;
        this->MinSCTextBox->TextChanged += new System::EventHandler(this->MinSCTextBox_TextChanged);
        // 
        // label45
        // 
        this->label45->AutoSize = true;
        this->label45->Location = new System::Drawing::Point(129, 237);
        this->label45->Name = "label45";
        this->label45->Size = new System::Drawing::Size(31, 13);
        this->label45->TabIndex = 94;
        this->label45->Text = "Holy:";
        // 
        // label22
        // 
        this->label22->AutoSize = true;
        this->label22->Location = new System::Drawing::Point(494, 46);
        this->label22->Name = "label22";
        this->label22->Size = new System::Drawing::Size(47, 13);
        this->label22->TabIndex = 50;
        this->label22->Text = "Max SC:";
        // 
        // HPratetextbox
        // 
        this->HPratetextbox->Location = new System::Drawing::Point(261, 67);
        this->HPratetextbox->MaxLength = 3;
        this->HPratetextbox->Name = "HPratetextbox";
        this->HPratetextbox->Size = new System::Drawing::Size(30, 20);
        this->HPratetextbox->TabIndex = 93;
        this->HPratetextbox->TextChanged += new System::EventHandler(this->HporMpRatetextbox_TextChanged);
        // 
        // MaxSCTextBox
        // 
        this->MaxSCTextBox->Location = new System::Drawing::Point(547, 43);
        this->MaxSCTextBox->MaxLength = 3;
        this->MaxSCTextBox->Name = "MaxSCTextBox";
        this->MaxSCTextBox->Size = new System::Drawing::Size(30, 20);
        this->MaxSCTextBox->TabIndex = 22;
        this->MaxSCTextBox->TextChanged += new System::EventHandler(this->MaxSCTextBox_TextChanged);
        // 
        // label44
        // 
        this->label44->AutoSize = true;
        this->label44->Location = new System::Drawing::Point(220, 70);
        this->label44->Name = "label44";
        this->label44->Size = new System::Drawing::Size(35, 13);
        this->label44->TabIndex = 92;
        this->label44->Text = "Hp+%";
        // 
        // label25
        // 
        this->label25->AutoSize = true;
        this->label25->Location = new System::Drawing::Point(46, 70);
        this->label25->Name = "label25";
        this->label25->Size = new System::Drawing::Size(25, 13);
        this->label25->TabIndex = 52;
        this->label25->Text = "HP:";
        // 
        // PoisonRecoverytextBox
        // 
        this->PoisonRecoverytextBox->Location = new System::Drawing::Point(359, 145);
        this->PoisonRecoverytextBox->MaxLength = 3;
        this->PoisonRecoverytextBox->Name = "PoisonRecoverytextBox";
        this->PoisonRecoverytextBox->Size = new System::Drawing::Size(30, 20);
        this->PoisonRecoverytextBox->TabIndex = 91;
        this->PoisonRecoverytextBox->TextChanged += new System::EventHandler(this->PoisonRecoverytextBox_TextChanged);
        // 
        // HPTextBox
        // 
        this->HPTextBox->Location = new System::Drawing::Point(77, 67);
        this->HPTextBox->MaxLength = 3;
        this->HPTextBox->Name = "HPTextBox";
        this->HPTextBox->Size = new System::Drawing::Size(30, 20);
        this->HPTextBox->TabIndex = 23;
        this->HPTextBox->TextChanged += new System::EventHandler(this->HPTextBox_TextChanged);
        // 
        // label43
        // 
        this->label43->AutoSize = true;
        this->label43->Location = new System::Drawing::Point(288, 148);
        this->label43->Name = "label43";
        this->label43->Size = new System::Drawing::Size(65, 13);
        this->label43->TabIndex = 90;
        this->label43->Text = "Pois Recov:";
        // 
        // label24
        // 
        this->label24->AutoSize = true;
        this->label24->Location = new System::Drawing::Point(134, 70);
        this->label24->Name = "label24";
        this->label24->Size = new System::Drawing::Size(26, 13);
        this->label24->TabIndex = 54;
        this->label24->Text = "MP:";
        // 
        // SpellRecoverytextBox
        // 
        this->SpellRecoverytextBox->Location = new System::Drawing::Point(547, 69);
        this->SpellRecoverytextBox->MaxLength = 3;
        this->SpellRecoverytextBox->Name = "SpellRecoverytextBox";
        this->SpellRecoverytextBox->Size = new System::Drawing::Size(30, 20);
        this->SpellRecoverytextBox->TabIndex = 89;
        this->SpellRecoverytextBox->TextChanged += new System::EventHandler(this->SpellRecoverytextBox_TextChanged);
        // 
        // MPTextBox
        // 
        this->MPTextBox->Location = new System::Drawing::Point(166, 67);
        this->MPTextBox->MaxLength = 3;
        this->MPTextBox->Name = "MPTextBox";
        this->MPTextBox->Size = new System::Drawing::Size(30, 20);
        this->MPTextBox->TabIndex = 24;
        this->MPTextBox->TextChanged += new System::EventHandler(this->MPTextBox_TextChanged);
        // 
        // label42
        // 
        this->label42->AutoSize = true;
        this->label42->Location = new System::Drawing::Point(488, 72);
        this->label42->Name = "label42";
        this->label42->Size = new System::Drawing::Size(61, 13);
        this->label42->TabIndex = 88;
        this->label42->Text = "MP Regen:";
        // 
        // label27
        // 
        this->label27->AutoSize = true;
        this->label27->Location = new System::Drawing::Point(295, 93);
        this->label27->Name = "label27";
        this->label27->Size = new System::Drawing::Size(55, 13);
        this->label27->TabIndex = 56;
        this->label27->Text = "Accuracy:";
        // 
        // PoisonResisttextBox
        // 
        this->PoisonResisttextBox->Location = new System::Drawing::Point(166, 145);
        this->PoisonResisttextBox->MaxLength = 3;
        this->PoisonResisttextBox->Name = "PoisonResisttextBox";
        this->PoisonResisttextBox->Size = new System::Drawing::Size(30, 20);
        this->PoisonResisttextBox->TabIndex = 87;
        this->PoisonResisttextBox->TextChanged += new System::EventHandler(this->PoisonResisttextBox_TextChanged);
        // 
        // AccuracyTextBox
        // 
        this->AccuracyTextBox->Location = new System::Drawing::Point(359, 90);
        this->AccuracyTextBox->MaxLength = 3;
        this->AccuracyTextBox->Name = "AccuracyTextBox";
        this->AccuracyTextBox->Size = new System::Drawing::Size(30, 20);
        this->AccuracyTextBox->TabIndex = 25;
        this->AccuracyTextBox->TextChanged += new System::EventHandler(this->AccuracyTextBox_TextChanged);
        // 
        // label41
        // 
        this->label41->AutoSize = true;
        this->label41->Location = new System::Drawing::Point(108, 148);
        this->label41->Name = "label41";
        this->label41->Size = new System::Drawing::Size(52, 13);
        this->label41->TabIndex = 86;
        this->label41->Text = "Pois Res:";
        // 
        // label26
        // 
        this->label26->AutoSize = true;
        this->label26->Location = new System::Drawing::Point(411, 93);
        this->label26->Name = "label26";
        this->label26->Size = new System::Drawing::Size(37, 13);
        this->label26->TabIndex = 58;
        this->label26->Text = "Agility:";
        // 
        // MagicResisttextBox
        // 
        this->MagicResisttextBox->Location = new System::Drawing::Point(77, 143);
        this->MagicResisttextBox->MaxLength = 3;
        this->MagicResisttextBox->Name = "MagicResisttextBox";
        this->MagicResisttextBox->Size = new System::Drawing::Size(30, 20);
        this->MagicResisttextBox->TabIndex = 85;
        this->MagicResisttextBox->TextChanged += new System::EventHandler(this->MagicResisttextBox_TextChanged);
        // 
        // AgilityTextBox
        // 
        this->AgilityTextBox->Location = new System::Drawing::Point(453, 90);
        this->AgilityTextBox->MaxLength = 3;
        this->AgilityTextBox->Name = "AgilityTextBox";
        this->AgilityTextBox->Size = new System::Drawing::Size(30, 20);
        this->AgilityTextBox->TabIndex = 26;
        this->AgilityTextBox->TextChanged += new System::EventHandler(this->AgilityTextBox_TextChanged);
        // 
        // label40
        // 
        this->label40->AutoSize = true;
        this->label40->Location = new System::Drawing::Point(13, 148);
        this->label40->Name = "label40";
        this->label40->Size = new System::Drawing::Size(63, 13);
        this->label40->TabIndex = 84;
        this->label40->Text = "Mag Resist:";
        // 
        // label29
        // 
        this->label29->AutoSize = true;
        this->label29->Location = new System::Drawing::Point(17, 96);
        this->label29->Name = "label29";
        this->label29->Size = new System::Drawing::Size(54, 13);
        this->label29->TabIndex = 60;
        this->label29->Text = "A. Speed:";
        // 
        // HealthRecoveryTextbox
        // 
        this->HealthRecoveryTextbox->Location = new System::Drawing::Point(453, 67);
        this->HealthRecoveryTextbox->MaxLength = 3;
        this->HealthRecoveryTextbox->Name = "HealthRecoveryTextbox";
        this->HealthRecoveryTextbox->Size = new System::Drawing::Size(30, 20);
        this->HealthRecoveryTextbox->TabIndex = 83;
        this->HealthRecoveryTextbox->TextChanged += new System::EventHandler(this->HealthRecoveryTextbox_TextChanged);
        // 
        // ASpeedTextBox
        // 
        this->ASpeedTextBox->Location = new System::Drawing::Point(77, 93);
        this->ASpeedTextBox->MaxLength = 4;
        this->ASpeedTextBox->Name = "ASpeedTextBox";
        this->ASpeedTextBox->Size = new System::Drawing::Size(30, 20);
        this->ASpeedTextBox->TabIndex = 27;
        this->ASpeedTextBox->TextChanged += new System::EventHandler(this->ASpeedTextBox_TextChanged);
        // 
        // label39
        // 
        this->label39->AutoSize = true;
        this->label39->Location = new System::Drawing::Point(395, 72);
        this->label39->Name = "label39";
        this->label39->Size = new System::Drawing::Size(60, 13);
        this->label39->TabIndex = 82;
        this->label39->Text = "HP Regen:";
        // 
        // label28
        // 
        this->label28->AutoSize = true;
        this->label28->Location = new System::Drawing::Point(126, 96);
        this->label28->Name = "label28";
        this->label28->Size = new System::Drawing::Size(34, 13);
        this->label28->TabIndex = 62;
        this->label28->Text = "Luck:";
        // 
        // StrongTextbox
        // 
        this->StrongTextbox->Location = new System::Drawing::Point(261, 93);
        this->StrongTextbox->MaxLength = 3;
        this->StrongTextbox->Name = "StrongTextbox";
        this->StrongTextbox->Size = new System::Drawing::Size(30, 20);
        this->StrongTextbox->TabIndex = 81;
        this->StrongTextbox->TextChanged += new System::EventHandler(this->StrongTextbox_TextChanged);
        // 
        // LuckTextBox
        // 
        this->LuckTextBox->Location = new System::Drawing::Point(166, 93);
        this->LuckTextBox->MaxLength = 4;
        this->LuckTextBox->Name = "LuckTextBox";
        this->LuckTextBox->Size = new System::Drawing::Size(30, 20);
        this->LuckTextBox->TabIndex = 28;
        this->LuckTextBox->TextChanged += new System::EventHandler(this->LuckTextBox_TextChanged);
        // 
        // label38
        // 
        this->label38->AutoSize = true;
        this->label38->Location = new System::Drawing::Point(214, 93);
        this->label38->Name = "label38";
        this->label38->Size = new System::Drawing::Size(41, 13);
        this->label38->TabIndex = 80;
        this->label38->Text = "Strong:";
        // 
        // label31
        // 
        this->label31->AutoSize = true;
        this->label31->Location = new System::Drawing::Point(5, 122);
        this->label31->Name = "label31";
        this->label31->Size = new System::Drawing::Size(66, 13);
        this->label31->TabIndex = 66;
        this->label31->Text = "Bag Weight:";
        // 
        // MacRateTextbox
        // 
        this->MacRateTextbox->Location = new System::Drawing::Point(547, 11);
        this->MacRateTextbox->MaxLength = 3;
        this->MacRateTextbox->Name = "MacRateTextbox";
        this->MacRateTextbox->Size = new System::Drawing::Size(30, 20);
        this->MacRateTextbox->TabIndex = 79;
        this->MacRateTextbox->TextChanged += new System::EventHandler(this->MacRateTextbox_TextChanged);
        // 
        // BWeightText
        // 
        this->BWeightText->Location = new System::Drawing::Point(77, 119);
        this->BWeightText->MaxLength = 4;
        this->BWeightText->Name = "BWeightText";
        this->BWeightText->Size = new System::Drawing::Size(30, 20);
        this->BWeightText->TabIndex = 64;
        this->BWeightText->TextChanged += new System::EventHandler(this->BWeightText_TextChanged);
        // 
        // label30
        // 
        this->label30->AutoSize = true;
        this->label30->Location = new System::Drawing::Point(182, 122);
        this->label30->Name = "label30";
        this->label30->Size = new System::Drawing::Size(73, 13);
        this->label30->TabIndex = 67;
        this->label30->Text = "Hand Weight.";
        // 
        // ACRateTextbox
        // 
        this->ACRateTextbox->Location = new System::Drawing::Point(452, 13);
        this->ACRateTextbox->MaxLength = 3;
        this->ACRateTextbox->Name = "ACRateTextbox";
        this->ACRateTextbox->Size = new System::Drawing::Size(30, 20);
        this->ACRateTextbox->TabIndex = 77;
        this->ACRateTextbox->TextChanged += new System::EventHandler(this->ACRateTextbox_TextChanged);
        // 
        // HWeightTextBox
        // 
        this->HWeightTextBox->Location = new System::Drawing::Point(261, 119);
        this->HWeightTextBox->MaxLength = 4;
        this->HWeightTextBox->Name = "HWeightTextBox";
        this->HWeightTextBox->Size = new System::Drawing::Size(30, 20);
        this->HWeightTextBox->TabIndex = 65;
        this->HWeightTextBox->TextChanged += new System::EventHandler(this->HWeightTextBox_TextChanged);
        // 
        // label36
        // 
        this->label36->AutoSize = true;
        this->label36->Location = new System::Drawing::Point(398, 17);
        this->label36->Name = "label36";
        this->label36->Size = new System::Drawing::Size(49, 13);
        this->label36->TabIndex = 76;
        this->label36->Text = "Ac Rate:";
        // 
        // label32
        // 
        this->label32->AutoSize = true;
        this->label32->Location = new System::Drawing::Point(378, 124);
        this->label32->Name = "label32";
        this->label32->Size = new System::Drawing::Size(73, 13);
        this->label32->TabIndex = 69;
        this->label32->Text = "Wear Weight.";
        // 
        // WWeightTextBox
        // 
        this->WWeightTextBox->Location = new System::Drawing::Point(453, 121);
        this->WWeightTextBox->MaxLength = 4;
        this->WWeightTextBox->Name = "WWeightTextBox";
        this->WWeightTextBox->Size = new System::Drawing::Size(32, 20);
        this->WWeightTextBox->TabIndex = 68;
        this->WWeightTextBox->TextChanged += new System::EventHandler(this->WWeightTextBox_TextChanged);
        // 
        // tabPage3
        // 
        this->tabPage3->Controls->Add(this->noMailBox);
        this->tabPage3->Controls->Add(this->unableToDisassemble_CheckBox);
        this->tabPage3->Controls->Add(this->unableToRent_CheckBox);
        this->tabPage3->Controls->Add(this->NoWeddingRingcheckbox);
        this->tabPage3->Controls->Add(this->BreakOnDeathcheckbox);
        this->tabPage3->Controls->Add(this->Bind_DontSpecialRepaircheckBox);
        this->tabPage3->Controls->Add(this->Bind_dontdropcheckbox);
        this->tabPage3->Controls->Add(this->BindOnEquipcheckbox);
        this->tabPage3->Controls->Add(this->Bind_dontdeathdropcheckbox);
        this->tabPage3->Controls->Add(this->Bind_dontstorecheckbox);
        this->tabPage3->Controls->Add(this->Bind_destroyondropcheckbox);
        this->tabPage3->Controls->Add(this->Bind_dontupgradecheckbox);
        this->tabPage3->Controls->Add(this->Bind_dontsellcheckbox);
        this->tabPage3->Controls->Add(this->Bind_dontrepaircheckbox);
        this->tabPage3->Controls->Add(this->Bind_donttradecheckbox);
        this->tabPage3->Location = new System::Drawing::Point(4, 22);
        this->tabPage3->Name = "tabPage3";
        this->tabPage3->Size = new System::Drawing::Size(601, 390);
        this->tabPage3->TabIndex = 2;
        this->tabPage3->Text = "Binding";
        this->tabPage3->UseVisualStyleBackColor = true;
        // 
        // noMailBox
        // 
        this->noMailBox->AutoSize = true;
        this->noMailBox->Location = new System::Drawing::Point(21, 343);
        this->noMailBox->Name = "noMailBox";
        this->noMailBox->Size = new System::Drawing::Size(98, 17);
        this->noMailBox->TabIndex = 119;
        this->noMailBox->Text = "Unable To Mail";
        this->noMailBox->UseVisualStyleBackColor = true;
        this->noMailBox->CheckedChanged += new System::EventHandler(this->noMailBox_CheckedChanged);
        // 
        // unableToDisassemble_CheckBox
        // 
        this->unableToDisassemble_CheckBox->AutoSize = true;
        this->unableToDisassemble_CheckBox->Location = new System::Drawing::Point(21, 320);
        this->unableToDisassemble_CheckBox->Name = "unableToDisassemble_CheckBox";
        this->unableToDisassemble_CheckBox->Size = new System::Drawing::Size(138, 17);
        this->unableToDisassemble_CheckBox->TabIndex = 117;
        this->unableToDisassemble_CheckBox->Text = "Unable To Disassemble";
        this->unableToDisassemble_CheckBox->UseVisualStyleBackColor = true;
        this->unableToDisassemble_CheckBox->CheckedChanged += new System::EventHandler(this->unableToDisassemble_CheckBox_CheckedChanged);
        // 
        // unableToRent_CheckBox
        // 
        this->unableToRent_CheckBox->AutoSize = true;
        this->unableToRent_CheckBox->Location = new System::Drawing::Point(21, 297);
        this->unableToRent_CheckBox->Name = "unableToRent_CheckBox";
        this->unableToRent_CheckBox->Size = new System::Drawing::Size(102, 17);
        this->unableToRent_CheckBox->TabIndex = 116;
        this->unableToRent_CheckBox->Text = "Unable To Rent";
        this->unableToRent_CheckBox->UseVisualStyleBackColor = true;
        this->unableToRent_CheckBox->CheckedChanged += new System::EventHandler(this->unableToRent_CheckBox_CheckedChanged);
        // 
        // NoWeddingRingcheckbox
        // 
        this->NoWeddingRingcheckbox->AutoSize = true;
        this->NoWeddingRingcheckbox->Location = new System::Drawing::Point(21, 274);
        this->NoWeddingRingcheckbox->Name = "NoWeddingRingcheckbox";
        this->NoWeddingRingcheckbox->Size = new System::Drawing::Size(130, 17);
        this->NoWeddingRingcheckbox->TabIndex = 115;
        this->NoWeddingRingcheckbox->Text = "Disabled Weddingring";
        this->NoWeddingRingcheckbox->UseVisualStyleBackColor = true;
        this->NoWeddingRingcheckbox->CheckedChanged += new System::EventHandler(this->NoWeddingRingcheckbox_CheckedChanged);
        // 
        // BreakOnDeathcheckbox
        // 
        this->BreakOnDeathcheckbox->AutoSize = true;
        this->BreakOnDeathcheckbox->Location = new System::Drawing::Point(21, 251);
        this->BreakOnDeathcheckbox->Name = "BreakOnDeathcheckbox";
        this->BreakOnDeathcheckbox->Size = new System::Drawing::Size(101, 17);
        this->BreakOnDeathcheckbox->TabIndex = 114;
        this->BreakOnDeathcheckbox->Text = "Break on Death";
        this->BreakOnDeathcheckbox->UseVisualStyleBackColor = true;
        this->BreakOnDeathcheckbox->CheckedChanged += new System::EventHandler(this->BreakOnDeathcheckbox_CheckedChanged);
        // 
        // Bind_DontSpecialRepaircheckBox
        // 
        this->Bind_DontSpecialRepaircheckBox->AutoSize = true;
        this->Bind_DontSpecialRepaircheckBox->Location = new System::Drawing::Point(21, 160);
        this->Bind_DontSpecialRepaircheckBox->Name = "Bind_DontSpecialRepaircheckBox";
        this->Bind_DontSpecialRepaircheckBox->Size = new System::Drawing::Size(121, 17);
        this->Bind_DontSpecialRepaircheckBox->TabIndex = 113;
        this->Bind_DontSpecialRepaircheckBox->Text = "Dont Special Repair";
        this->Bind_DontSpecialRepaircheckBox->UseVisualStyleBackColor = true;
        this->Bind_DontSpecialRepaircheckBox->CheckedChanged += new System::EventHandler(this->Bind_DontSpecialRepaircheckBox_CheckedChanged);
        // 
        // Bind_dontdropcheckbox
        // 
        this->Bind_dontdropcheckbox->AutoSize = true;
        this->Bind_dontdropcheckbox->Location = new System::Drawing::Point(21, 12);
        this->Bind_dontdropcheckbox->Name = "Bind_dontdropcheckbox";
        this->Bind_dontdropcheckbox->Size = new System::Drawing::Size(73, 17);
        this->Bind_dontdropcheckbox->TabIndex = 102;
        this->Bind_dontdropcheckbox->Text = "Dont drop";
        this->Bind_dontdropcheckbox->UseVisualStyleBackColor = true;
        this->Bind_dontdropcheckbox->CheckedChanged += new System::EventHandler(this->Bind_dontdropcheckbox_CheckedChanged);
        // 
        // BindOnEquipcheckbox
        // 
        this->BindOnEquipcheckbox->AutoSize = true;
        this->BindOnEquipcheckbox->Location = new System::Drawing::Point(21, 228);
        this->BindOnEquipcheckbox->Name = "BindOnEquipcheckbox";
        this->BindOnEquipcheckbox->Size = new System::Drawing::Size(92, 17);
        this->BindOnEquipcheckbox->TabIndex = 112;
        this->BindOnEquipcheckbox->Text = "Bind on Equip";
        this->BindOnEquipcheckbox->UseVisualStyleBackColor = true;
        this->BindOnEquipcheckbox->CheckedChanged += new System::EventHandler(this->BindOnEquipcheckbox_CheckedChanged);
        // 
        // Bind_dontdeathdropcheckbox
        // 
        this->Bind_dontdeathdropcheckbox->AutoSize = true;
        this->Bind_dontdeathdropcheckbox->Location = new System::Drawing::Point(21, 38);
        this->Bind_dontdeathdropcheckbox->Name = "Bind_dontdeathdropcheckbox";
        this->Bind_dontdeathdropcheckbox->Size = new System::Drawing::Size(105, 17);
        this->Bind_dontdeathdropcheckbox->TabIndex = 103;
        this->Bind_dontdeathdropcheckbox->Text = "Dont Death drop";
        this->Bind_dontdeathdropcheckbox->UseVisualStyleBackColor = true;
        this->Bind_dontdeathdropcheckbox->CheckedChanged += new System::EventHandler(this->Bind_dontdeathdropcheckbox_CheckedChanged);
        // 
        // Bind_dontstorecheckbox
        // 
        this->Bind_dontstorecheckbox->AutoSize = true;
        this->Bind_dontstorecheckbox->Location = new System::Drawing::Point(21, 182);
        this->Bind_dontstorecheckbox->Name = "Bind_dontstorecheckbox";
        this->Bind_dontstorecheckbox->Size = new System::Drawing::Size(77, 17);
        this->Bind_dontstorecheckbox->TabIndex = 109;
        this->Bind_dontstorecheckbox->Text = "Dont Store";
        this->Bind_dontstorecheckbox->UseVisualStyleBackColor = true;
        this->Bind_dontstorecheckbox->CheckedChanged += new System::EventHandler(this->Bind_dontstorecheckbox_CheckedChanged);
        // 
        // Bind_destroyondropcheckbox
        // 
        this->Bind_destroyondropcheckbox->AutoSize = true;
        this->Bind_destroyondropcheckbox->Location = new System::Drawing::Point(21, 65);
        this->Bind_destroyondropcheckbox->Name = "Bind_destroyondropcheckbox";
        this->Bind_destroyondropcheckbox->Size = new System::Drawing::Size(101, 17);
        this->Bind_destroyondropcheckbox->TabIndex = 104;
        this->Bind_destroyondropcheckbox->Text = "Destroy on drop";
        this->Bind_destroyondropcheckbox->UseVisualStyleBackColor = true;
        this->Bind_destroyondropcheckbox->CheckedChanged += new System::EventHandler(this->Bind_destroyondropcheckbox_CheckedChanged);
        // 
        // Bind_dontupgradecheckbox
        // 
        this->Bind_dontupgradecheckbox->AutoSize = true;
        this->Bind_dontupgradecheckbox->Location = new System::Drawing::Point(21, 205);
        this->Bind_dontupgradecheckbox->Name = "Bind_dontupgradecheckbox";
        this->Bind_dontupgradecheckbox->Size = new System::Drawing::Size(93, 17);
        this->Bind_dontupgradecheckbox->TabIndex = 108;
        this->Bind_dontupgradecheckbox->Text = "Dont Upgrade";
        this->Bind_dontupgradecheckbox->UseVisualStyleBackColor = true;
        this->Bind_dontupgradecheckbox->CheckedChanged += new System::EventHandler(this->Bind_dontupgradecheckbox_CheckedChanged);
        // 
        // Bind_dontsellcheckbox
        // 
        this->Bind_dontsellcheckbox->AutoSize = true;
        this->Bind_dontsellcheckbox->Location = new System::Drawing::Point(21, 91);
        this->Bind_dontsellcheckbox->Name = "Bind_dontsellcheckbox";
        this->Bind_dontsellcheckbox->Size = new System::Drawing::Size(67, 17);
        this->Bind_dontsellcheckbox->TabIndex = 105;
        this->Bind_dontsellcheckbox->Text = "Dont sell";
        this->Bind_dontsellcheckbox->UseVisualStyleBackColor = true;
        this->Bind_dontsellcheckbox->CheckedChanged += new System::EventHandler(this->Bind_dontsellcheckbox_CheckedChanged);
        // 
        // Bind_dontrepaircheckbox
        // 
        this->Bind_dontrepaircheckbox->AutoSize = true;
        this->Bind_dontrepaircheckbox->Location = new System::Drawing::Point(21, 137);
        this->Bind_dontrepaircheckbox->Name = "Bind_dontrepaircheckbox";
        this->Bind_dontrepaircheckbox->Size = new System::Drawing::Size(83, 17);
        this->Bind_dontrepaircheckbox->TabIndex = 107;
        this->Bind_dontrepaircheckbox->Text = "Dont Repair";
        this->Bind_dontrepaircheckbox->UseVisualStyleBackColor = true;
        this->Bind_dontrepaircheckbox->CheckedChanged += new System::EventHandler(this->Bind_dontrepaircheckbox_CheckedChanged);
        // 
        // Bind_donttradecheckbox
        // 
        this->Bind_donttradecheckbox->AutoSize = true;
        this->Bind_donttradecheckbox->Location = new System::Drawing::Point(21, 114);
        this->Bind_donttradecheckbox->Name = "Bind_donttradecheckbox";
        this->Bind_donttradecheckbox->Size = new System::Drawing::Size(80, 17);
        this->Bind_donttradecheckbox->TabIndex = 106;
        this->Bind_donttradecheckbox->Text = "Dont Trade";
        this->Bind_donttradecheckbox->UseVisualStyleBackColor = true;
        this->Bind_donttradecheckbox->CheckedChanged += new System::EventHandler(this->Bind_donttradecheckbox_CheckedChanged);
        // 
        // tabPage4
        // 
        this->tabPage4->Controls->Add(this->PickaxecheckBox);
        this->tabPage4->Controls->Add(this->NoDuraLosscheckBox);
        this->tabPage4->Controls->Add(this->SkillcheckBox);
        this->tabPage4->Controls->Add(this->ProbecheckBox);
        this->tabPage4->Controls->Add(this->HealingcheckBox);
        this->tabPage4->Controls->Add(this->FlamecheckBox);
        this->tabPage4->Controls->Add(this->MusclecheckBox);
        this->tabPage4->Controls->Add(this->RevivalcheckBox);
        this->tabPage4->Controls->Add(this->ProtectioncheckBox);
        this->tabPage4->Controls->Add(this->ClearcheckBox);
        this->tabPage4->Controls->Add(this->TeleportcheckBox);
        this->tabPage4->Controls->Add(this->ParalysischeckBox);
        this->tabPage4->Controls->Add(this->BlinkcheckBox);
        this->tabPage4->Location = new System::Drawing::Point(4, 22);
        this->tabPage4->Name = "tabPage4";
        this->tabPage4->Size = new System::Drawing::Size(601, 390);
        this->tabPage4->TabIndex = 3;
        this->tabPage4->Text = "Special Stats";
        this->tabPage4->UseVisualStyleBackColor = true;
        // 
        // PickaxecheckBox
        // 
        this->PickaxecheckBox->AutoSize = true;
        this->PickaxecheckBox->Location = new System::Drawing::Point(22, 267);
        this->PickaxecheckBox->Name = "PickaxecheckBox";
        this->PickaxecheckBox->Size = new System::Drawing::Size(64, 17);
        this->PickaxecheckBox->TabIndex = 11;
        this->PickaxecheckBox->Text = "Pickaxe";
        this->PickaxecheckBox->UseVisualStyleBackColor = true;
        this->PickaxecheckBox->CheckedChanged += new System::EventHandler(this->PickaxecheckBox_CheckedChanged);
        // 
        // NoDuraLosscheckBox
        // 
        this->NoDuraLosscheckBox->AutoSize = true;
        this->NoDuraLosscheckBox->Location = new System::Drawing::Point(22, 244);
        this->NoDuraLosscheckBox->Name = "NoDuraLosscheckBox";
        this->NoDuraLosscheckBox->Size = new System::Drawing::Size(85, 17);
        this->NoDuraLosscheckBox->TabIndex = 10;
        this->NoDuraLosscheckBox->Text = "No dura loss";
        this->NoDuraLosscheckBox->UseVisualStyleBackColor = true;
        this->NoDuraLosscheckBox->CheckedChanged += new System::EventHandler(this->NoDuraLosscheckBox_CheckedChanged);
        // 
        // SkillcheckBox
        // 
        this->SkillcheckBox->AutoSize = true;
        this->SkillcheckBox->Location = new System::Drawing::Point(22, 221);
        this->SkillcheckBox->Name = "SkillcheckBox";
        this->SkillcheckBox->Size = new System::Drawing::Size(92, 17);
        this->SkillcheckBox->TabIndex = 9;
        this->SkillcheckBox->Text = "Skill necklace";
        this->SkillcheckBox->UseVisualStyleBackColor = true;
        this->SkillcheckBox->CheckedChanged += new System::EventHandler(this->SkillcheckBox_CheckedChanged);
        // 
        // ProbecheckBox
        // 
        this->ProbecheckBox->AutoSize = true;
        this->ProbecheckBox->Location = new System::Drawing::Point(22, 198);
        this->ProbecheckBox->Name = "ProbecheckBox";
        this->ProbecheckBox->Size = new System::Drawing::Size(101, 17);
        this->ProbecheckBox->TabIndex = 8;
        this->ProbecheckBox->Text = "Probe necklace";
        this->ProbecheckBox->UseVisualStyleBackColor = true;
        this->ProbecheckBox->CheckedChanged += new System::EventHandler(this->ProbecheckBox_CheckedChanged);
        // 
        // HealingcheckBox
        // 
        this->HealingcheckBox->AutoSize = true;
        this->HealingcheckBox->Location = new System::Drawing::Point(22, 176);
        this->HealingcheckBox->Name = "HealingcheckBox";
        this->HealingcheckBox->Size = new System::Drawing::Size(82, 17);
        this->HealingcheckBox->TabIndex = 7;
        this->HealingcheckBox->Text = "Healing ring";
        this->HealingcheckBox->UseVisualStyleBackColor = true;
        this->HealingcheckBox->CheckedChanged += new System::EventHandler(this->HealingcheckBox_CheckedChanged);
        // 
        // FlamecheckBox
        // 
        this->FlamecheckBox->AutoSize = true;
        this->FlamecheckBox->Location = new System::Drawing::Point(22, 152);
        this->FlamecheckBox->Name = "FlamecheckBox";
        this->FlamecheckBox->Size = new System::Drawing::Size(74, 17);
        this->FlamecheckBox->TabIndex = 6;
        this->FlamecheckBox->Text = "Flame ring";
        this->FlamecheckBox->UseVisualStyleBackColor = true;
        this->FlamecheckBox->CheckedChanged += new System::EventHandler(this->FlamecheckBox_CheckedChanged);
        // 
        // MusclecheckBox
        // 
        this->MusclecheckBox->AutoSize = true;
        this->MusclecheckBox->Location = new System::Drawing::Point(22, 129);
        this->MusclecheckBox->Name = "MusclecheckBox";
        this->MusclecheckBox->Size = new System::Drawing::Size(80, 17);
        this->MusclecheckBox->TabIndex = 5;
        this->MusclecheckBox->Text = "Muscle ring";
        this->MusclecheckBox->UseVisualStyleBackColor = true;
        this->MusclecheckBox->CheckedChanged += new System::EventHandler(this->MusclecheckBox_CheckedChanged);
        // 
        // RevivalcheckBox
        // 
        this->RevivalcheckBox->AutoSize = true;
        this->RevivalcheckBox->Location = new System::Drawing::Point(22, 106);
        this->RevivalcheckBox->Name = "RevivalcheckBox";
        this->RevivalcheckBox->Size = new System::Drawing::Size(82, 17);
        this->RevivalcheckBox->TabIndex = 4;
        this->RevivalcheckBox->Text = "Revival ring";
        this->RevivalcheckBox->UseVisualStyleBackColor = true;
        this->RevivalcheckBox->CheckedChanged += new System::EventHandler(this->RevivalcheckBox_CheckedChanged);
        // 
        // ProtectioncheckBox
        // 
        this->ProtectioncheckBox->AutoSize = true;
        this->ProtectioncheckBox->Location = new System::Drawing::Point(22, 83);
        this->ProtectioncheckBox->Name = "ProtectioncheckBox";
        this->ProtectioncheckBox->Size = new System::Drawing::Size(94, 17);
        this->ProtectioncheckBox->TabIndex = 3;
        this->ProtectioncheckBox->Text = "Protection ring";
        this->ProtectioncheckBox->UseVisualStyleBackColor = true;
        this->ProtectioncheckBox->CheckedChanged += new System::EventHandler(this->ProtectioncheckBox_CheckedChanged);
        // 
        // ClearcheckBox
        // 
        this->ClearcheckBox->AutoSize = true;
        this->ClearcheckBox->Location = new System::Drawing::Point(22, 60);
        this->ClearcheckBox->Name = "ClearcheckBox";
        this->ClearcheckBox->Size = new System::Drawing::Size(70, 17);
        this->ClearcheckBox->TabIndex = 2;
        this->ClearcheckBox->Text = "Clear ring";
        this->ClearcheckBox->UseVisualStyleBackColor = true;
        this->ClearcheckBox->CheckedChanged += new System::EventHandler(this->ClearcheckBox_CheckedChanged);
        // 
        // TeleportcheckBox
        // 
        this->TeleportcheckBox->AutoSize = true;
        this->TeleportcheckBox->Location = new System::Drawing::Point(22, 37);
        this->TeleportcheckBox->Name = "TeleportcheckBox";
        this->TeleportcheckBox->Size = new System::Drawing::Size(85, 17);
        this->TeleportcheckBox->TabIndex = 1;
        this->TeleportcheckBox->Text = "Teleport ring";
        this->TeleportcheckBox->UseVisualStyleBackColor = true;
        this->TeleportcheckBox->CheckedChanged += new System::EventHandler(this->TeleportcheckBox_CheckedChanged);
        // 
        // ParalysischeckBox
        // 
        this->ParalysischeckBox->AutoSize = true;
        this->ParalysischeckBox->Location = new System::Drawing::Point(22, 14);
        this->ParalysischeckBox->Name = "ParalysischeckBox";
        this->ParalysischeckBox->Size = new System::Drawing::Size(87, 17);
        this->ParalysischeckBox->TabIndex = 0;
        this->ParalysischeckBox->Text = "Paralysis ring";
        this->ParalysischeckBox->UseVisualStyleBackColor = true;
        this->ParalysischeckBox->CheckedChanged += new System::EventHandler(this->ParalysischeckBox_CheckedChanged);
        // 
        // BlinkcheckBox
        // 
        this->BlinkcheckBox->AutoSize = true;
        this->BlinkcheckBox->Location = new System::Drawing::Point(22, 290);
        this->BlinkcheckBox->Name = "BlinkcheckBox";
        this->BlinkcheckBox->Size = new System::Drawing::Size(49, 17);
        this->BlinkcheckBox->TabIndex = 6;
        this->BlinkcheckBox->Text = "Blink";
        this->BlinkcheckBox->UseVisualStyleBackColor = true;
        this->BlinkcheckBox->CheckedChanged += new System::EventHandler(this->BlinkcheckBox_CheckedChanged);
        // 
        // RemoveButton
        // 
        this->RemoveButton->Location = new System::Drawing::Point(235, 12);
        this->RemoveButton->Name = "RemoveButton";
        this->RemoveButton->Size = new System::Drawing::Size(65, 23);
        this->RemoveButton->TabIndex = 9;
        this->RemoveButton->Text = "Remove";
        this->RemoveButton->UseVisualStyleBackColor = true;
        this->RemoveButton->Click += new System::EventHandler(this->RemoveButton_Click);
        // 
        // AddButton
        // 
        this->AddButton->Location = new System::Drawing::Point(174, 12);
        this->AddButton->Name = "AddButton";
        this->AddButton->Size = new System::Drawing::Size(55, 23);
        this->AddButton->TabIndex = 8;
        this->AddButton->Text = "Add";
        this->AddButton->UseVisualStyleBackColor = true;
        this->AddButton->Click += new System::EventHandler(this->AddButton_Click);
        // 
        // ItemInfoListBox
        // 
        this->ItemInfoListBox->Anchor = (static_cast<System::Windows::Forms::AnchorStyles*>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom) | System::Windows::Forms::AnchorStyles::Left)));
        this->ItemInfoListBox->FormattingEnabled = true;
        this->ItemInfoListBox->Location = new System::Drawing::Point(12, 40);
        this->ItemInfoListBox->Name = "ItemInfoListBox";
        this->ItemInfoListBox->SelectionMode = System::Windows::Forms::SelectionMode::MultiExtended;
        this->ItemInfoListBox->Size = new System::Drawing::Size(156, 420);
        this->ItemInfoListBox->TabIndex = 10;
        this->ItemInfoListBox->SelectedIndexChanged += new System::EventHandler(this->ItemInfoListBox_SelectedIndexChanged);
        // 
        // PasteButton
        // 
        this->PasteButton->Enabled = false;
        this->PasteButton->Location = new System::Drawing::Point(363, 12);
        this->PasteButton->Name = "PasteButton";
        this->PasteButton->Size = new System::Drawing::Size(53, 23);
        this->PasteButton->TabIndex = 24;
        this->PasteButton->Text = "Paste";
        this->PasteButton->UseVisualStyleBackColor = true;
        this->PasteButton->Visible = false;
        this->PasteButton->Click += new System::EventHandler(this->PasteButton_Click);
        // 
        // CopyMButton
        // 
        this->CopyMButton->Enabled = false;
        this->CopyMButton->Location = new System::Drawing::Point(306, 12);
        this->CopyMButton->Name = "CopyMButton";
        this->CopyMButton->Size = new System::Drawing::Size(51, 23);
        this->CopyMButton->TabIndex = 23;
        this->CopyMButton->Text = "Copy";
        this->CopyMButton->UseVisualStyleBackColor = true;
        this->CopyMButton->Visible = false;
        this->CopyMButton->Click += new System::EventHandler(this->CopyMButton_Click);
        // 
        // ITypeFilterComboBox
        // 
        this->ITypeFilterComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
        this->ITypeFilterComboBox->FormattingEnabled = true;
        this->ITypeFilterComboBox->Location = new System::Drawing::Point(14, 14);
        this->ITypeFilterComboBox->Name = "ITypeFilterComboBox";
        this->ITypeFilterComboBox->Size = new System::Drawing::Size(121, 21);
        this->ITypeFilterComboBox->TabIndex = 25;
        this->ITypeFilterComboBox->SelectedIndexChanged += new System::EventHandler(this->ITypeFilterComboBox_SelectedIndexChanged);
        // 
        // ExportAllButton
        // 
        this->ExportAllButton->Enabled = false;
        this->ExportAllButton->Location = new System::Drawing::Point(710, 12);
        this->ExportAllButton->Name = "ExportAllButton";
        this->ExportAllButton->Size = new System::Drawing::Size(76, 23);
        this->ExportAllButton->TabIndex = 26;
        this->ExportAllButton->Text = "Export All";
        this->ExportAllButton->UseVisualStyleBackColor = true;
        this->ExportAllButton->Visible = false;
        this->ExportAllButton->Click += new System::EventHandler(this->ExportAllButton_Click);
        // 
        // ExportSelectedButton
        // 
        this->ExportSelectedButton->Enabled = false;
        this->ExportSelectedButton->Location = new System::Drawing::Point(612, 12);
        this->ExportSelectedButton->Name = "ExportSelectedButton";
        this->ExportSelectedButton->Size = new System::Drawing::Size(94, 23);
        this->ExportSelectedButton->TabIndex = 27;
        this->ExportSelectedButton->Text = "Export Selected";
        this->ExportSelectedButton->UseVisualStyleBackColor = true;
        this->ExportSelectedButton->Visible = false;
        this->ExportSelectedButton->Click += new System::EventHandler(this->ExportSelectedButton_Click);
        // 
        // ImportButton
        // 
        this->ImportButton->Enabled = false;
        this->ImportButton->Location = new System::Drawing::Point(531, 12);
        this->ImportButton->Name = "ImportButton";
        this->ImportButton->Size = new System::Drawing::Size(75, 23);
        this->ImportButton->TabIndex = 28;
        this->ImportButton->Text = "Import";
        this->ImportButton->UseVisualStyleBackColor = true;
        this->ImportButton->Visible = false;
        this->ImportButton->Click += new System::EventHandler(this->ImportButton_Click);
        // 
        // Gameshop_button
        // 
        this->Gameshop_button->Location = new System::Drawing::Point(422, 12);
        this->Gameshop_button->Name = "Gameshop_button";
        this->Gameshop_button->Size = new System::Drawing::Size(83, 23);
        this->Gameshop_button->TabIndex = 29;
        this->Gameshop_button->Text = "+ Gameshop";
        this->Gameshop_button->UseVisualStyleBackColor = true;
        this->Gameshop_button->Click += new System::EventHandler(this->Gameshop_button_Click);
        // 
        // ItemInfoForm
        // 
        this->AutoScaleDimensions = new System::Drawing::SizeF(6.0F, 13.0F);
        this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
        this->ClientSize = new System::Drawing::Size(812, 479);
        this->Controls->Add(this->Gameshop_button);
        this->Controls->Add(this->ImportButton);
        this->Controls->Add(this->ExportSelectedButton);
        this->Controls->Add(this->ExportAllButton);
        this->Controls->Add(this->ITypeFilterComboBox);
        this->Controls->Add(this->PasteButton);
        this->Controls->Add(this->CopyMButton);
        this->Controls->Add(this->ItemInfoPanel);
        this->Controls->Add(this->RemoveButton);
        this->Controls->Add(this->AddButton);
        this->Controls->Add(this->ItemInfoListBox);
        this->Name = "ItemInfoForm";
        this->Text = "ItemInfoForm";
        this->FormClosed += new System::Windows::Forms::FormClosedEventHandler(this->ItemInfoForm_FormClosed);
        this->Load += new System::EventHandler(this->ItemInfoForm_Load);
        this->ItemInfoPanel->ResumeLayout(false);
        this->tabControl1->ResumeLayout(false);
        this->tabPage1->ResumeLayout(false);
        this->tabPage1->PerformLayout();
        this->tabPage2->ResumeLayout(false);
        this->tabPage2->PerformLayout();
        this->groupBox1->ResumeLayout(false);
        this->groupBox1->PerformLayout();
        this->tabPage3->ResumeLayout(false);
        this->tabPage3->PerformLayout();
        this->tabPage4->ResumeLayout(false);
        this->tabPage4->PerformLayout();
        this->ResumeLayout(false);

    }
}
